Allow specifying Test Selection Language filters in VSTest runsettings #669
@mletterle The idea of adding test filters to the runsettings is a good one, I like that one!
Also, is this really two different things in one PR?
Not only is the syntax different, but as far as I can tell VSTest's filtering is far more limited than NUnit's native filtering.
This PR allows one to use NUnit's native Test Selection Language from the
The two issues have a common source, they're both about selecting which tests you actually want to run under NUnit.
#425 is related because this allows you to run
#655 is related because, as far as I can tell it's actually not possible to use VSTest filter to select a specific parameterized test, but it is possible with the Test Selection Language, so for example you could do:
This allows using `dotnet test` as a drop in replacement for a nunit-console run with the `--where` option. i.e.: `nunit-console SomeTests.dll --where "cat == SomeCategory"` becomes `dotnet vstest SomeTests.dll -- NUnit.Where="cat == SomeCategory"` or `dotnet test SomeTests.csproj -- NUnit.Where="cat == SomeCategory"`