Open jcansdale opened 8 years ago
When a test is targeted by its class and method name, NUnit doesn't recognize the test as being explicitly targeted.
Take the following test:
public class Fixture { [Explicit, Test] public void Test() { } }
If you attempt to execute the [Explicit] test like this:
[Explicit]
nunit3-console.exe tests.dll --where "class == 'Fixture' && method == 'Test'"
You get the following result:
Test Run Summary Overall result: Passed Test Count: 1, Passed: 0, Failed: 0, Inconclusive: 0, Skipped: 1 Skipped Tests - Ignored: 0, Explicit: 1, Other: 0 Start time: 2016-07-18 22:01:05Z End time: 2016-07-18 22:01:06Z Duration: 0.194 seconds
This was run with NUnit v3.4.1.
Remember to revert nunit/nunit3-tdnet-adapter@50fb9bce7dca58af908624671dc2cb3599bed1b7 if this is resolved.
I can confirm this behavior.
When a test is targeted by its class and method name, NUnit doesn't recognize the test as being explicitly targeted.
Take the following test:
If you attempt to execute the
[Explicit]
test like this:nunit3-console.exe tests.dll --where "class == 'Fixture' && method == 'Test'"
You get the following result:
This was run with NUnit v3.4.1.