Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the Xunit runner .net 6 ready? #38

Open
nrhoffmann opened this issue Jul 22, 2021 · 0 comments
Open

Is the Xunit runner .net 6 ready? #38

nrhoffmann opened this issue Jul 22, 2021 · 0 comments

Comments

@nrhoffmann
Copy link

I tried running to run the example using a new .net 6 Xunit test project. Doesn't work! 🙁

dotnet test

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
No test is available in C:\Users\Bob\Source\Repos\EsIntegrationReprex\bin\Debug\net6.0\EsIntegrationReprex.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.

Using the VS test runner yields:

image
with the following output:

Starting test discovery for requested test run
========== Starting test discovery ==========
[xUnit.net 00:00:00.01] xUnit.net VSTest Adapter v2.4.3+1b45f5407b (64-bit .NET 6.0.0-preview.6.21352.12)
[xUnit.net 00:00:02.13]   Discovering: EsIntegrationReprex
[xUnit.net 00:00:02.19]   Discovered:  EsIntegrationReprex
No test is available in C:\Users\Bob\Source\Repos\EsIntegrationReprex\bin\Debug\net6.0\EsIntegrationReprex.dll. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
========== Test discovery finished: 0 Tests found in 3.5 sec ==========
Executing all tests in project: EsIntegrationReprex
========== Starting test run ==========
========== Test run finished: 0 Tests (0 Passed, 0 Failed, 0 Skipped) run in < 1 ms ==========

Here is a link to the project https://github.com/nrhoffmann/EsIntregrationReprex.

Local Environment

  • dotnet 6.0.100-preview.6.21355.2
  • VS 2022 Version 17.0.0 Preview 2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant