-
Notifications
You must be signed in to change notification settings - Fork 105
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
Filtering tests doesn't work when using EnableNUnitRunner
#1232
Comments
EnableNUnitRunner
Hi @aelij |
I can confirm the reported bug: The repro code is in https://github.com/nunit/nunit3-vs-adapter.issues/tree/master/Issue1152 The comparison is shown below, in both cases I am trying to run -1- test, but with the EnableNUnitRunner the Test Explorer doesn't filter. Dotnet test does filter correctly however: dotnet test --filter Name=Test1 --logger "Console;verbosity=normal" The results from Test Explorer is: @Evangelink Do you see what happens here ? |
Hi @OsirisTerje, @aelij, I am sorry that I didn't have a good look at the issue from the start. This is actually expected behavior because I'll try to see how to improve the documentation there. |
@Evangelink Must say that's not very intuitive.... is there a way to transfer the filter param to the test platform? |
@Evangelink That preview option is enabled on my machine, and it doesn't work - all tests are executed (only in NUnit, MS and X work fine). |
@Evangelink "is there a way to transfer the filter param to the test platform?" - I meant that the platform should do it, not the user :) |
Running an individual test doesn't work once the new Testing Platform is enabled. The runner always runs all tests. Using
dotnet test --filter
doesn't work either.The text was updated successfully, but these errors were encountered: