You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new console app, add the xunit package, write a few tests, try to dotnet restore and dotnet test.
Expected behavior
An error message saying to add a test runner, ideally suggesting the right one based on what testing framework is referenced if we have a way to recognize that at this point.
Actual behavior
An error message suggesting to add "microsoft.testplatform.testhost". The right packages to add to make it work really are Microsoft.NET.Test.Sdk and xunit.runner.visualstudio.
Environment data
Reproduces on Preview 3 and Preview 4.
The text was updated successfully, but these errors were encountered:
Moved from https://github.com/dotnet/cli/issues/5135 on behalf of @bleroy
Steps to reproduce
Create a new console app, add the xunit package, write a few tests, try to dotnet restore and dotnet test.
Expected behavior
An error message saying to add a test runner, ideally suggesting the right one based on what testing framework is referenced if we have a way to recognize that at this point.
Actual behavior
An error message suggesting to add "microsoft.testplatform.testhost". The right packages to add to make it work really are
Microsoft.NET.Test.Sdk
andxunit.runner.visualstudio
.Environment data
Reproduces on Preview 3 and Preview 4.
The text was updated successfully, but these errors were encountered: