nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00339
[Bug 548841] [NEW] [Explicit] does not get overridden if there is another category exclude
Public bug reported:
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.WriteLine("-A-"); }
[Test, Category("B")]
public void TestB() { Console.WriteLine("-B-"); }
}
** Affects: nunitv2
Importance: Undecided
Status: New
--
[Explicit] does not get overridden if there is another category exclude
https://bugs.launchpad.net/bugs/548841
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
Status in NUnit V2 Test Framework: New
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.WriteLine("-A-"); }
[Test, Category("B")]
public void TestB() { Console.WriteLine("-B-"); }
}
Follow ups
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Charlie Poole, 2010-07-25
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Charlie Poole, 2010-07-25
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Charlie Poole, 2010-07-25
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Launchpad Bug Tracker, 2010-07-25
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Charlie Poole, 2010-07-25
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Kuno, 2010-07-24
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Charlie Poole, 2010-07-23
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Peter Arius, 2010-07-13
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Charlie Poole, 2010-07-12
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Charlie Poole, 2010-07-12
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Charlie Poole, 2010-07-12
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Peter Arius, 2010-05-19
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Peter Arius, 2010-05-19
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Charlie Poole, 2010-04-15
-
[Bug 548841] Re: [Explicit] does not get overridden if there is another category exclude
From: Kuno, 2010-03-26
-
[Bug 548841] [NEW] [Explicit] does not get overridden if there is another category exclude
From: Kuno, 2010-03-26
References