[Explicit] does not get overridden if there is another category exclude
Bug #548841 reported by
Kuno Meyer
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit V2 |
Fix Released
|
High
|
Charlie Poole |
Bug Description
Steps to reproduce:
- Test code below ([1])
- nunit-console.exe <assemby.dll> /include=T /exclude=B"
Expected result:
- TestA() is executed
Actual result:
- No test is executed
Remarks
- Everything works as expected, if you remove the [Expected] attribute
[1] Test case
[TestFixture, Explicit, Category("T")]
public class Test
{
[Test, Category("A")]
public void TestA() { Console.
[Test, Category("B")]
public void TestB() { Console.
}
Related branches
tags: | added: confirm |
tags: | removed: confirm |
Changed in nunitv2: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.5.6 |
Changed in nunitv2: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
(Happens on: NUnit 2.5.3)