I have group of tests divided to categories
[TestFixture]
[Category("someCategory")]
public class MyTestClass
{
[Test, TestCaseSource("TestData")]
public void MyTest(...)
{
}
}
I'm trying to get list of tests filtered by category via nunit3-console
using
nunit3-console.exe --explore:results myTests.exe --where:"cat == someCategory"
However, it seems that --where
option applies only for running tests and the results
file contains list of all my tests, not only tests with category "someCategory".
How can I get a filtered list?