-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Migrating dotnet-test-xunit breaks test execution. #7098
Comments
|
For what it's worth, I'm seeing the exact same behavior with the new Visual Studio runner. I'm engaged with @harshjain2 who did the work. |
Ah, good to know! Thanks Brad! |
There are 2.2 beta 4 builds of |
Migration will now remove the reference to dotnet-test-xunit. |
@livarcocc Migration should also remove the reference of dotnet-test-mstest as well. |
@harshjain2 can you open an issue to track that one? |
Steps to reproduce
dotnet migrate
this super simple project. Key thing about this project is it has adotnet-test-xunit 2.2.0-*
dependency which enabled it to run in project.json land.<OutputType>Exe</OutputType>
to top levelPropertyGroup
. This is to workaround a test execution bug.dotnet restore
dotnet test
Expected behavior
Actual behavior
It never states results of tests being run. You can then get the actual behavior by removing the
dotnet-test-xunit
dependency.Environment data
dotnet --info
output:Extra
@bradwilson is the original owner of
dotnet-test-xunit
and that contained the xunit runner for the old world. It'd be a good idea to reach out and make sure everyone's on the same page for when it comes to invoking test runners, whether it be ours or third parties. This issue might spawn a different one in SDK to allow runners like Brad's to plug into the CLI test experience. For the interim, migrating all that we do for test projects breaks things 😄The text was updated successfully, but these errors were encountered: