← Back to team overview

nunit-core team mailing list archive

[Bug 1006604] Re: Explicit test runs if /exclude parameter is used

 

** Description changed:

  Assume we have the following test fixture:
  [TestFixture]
  class Test1
  {
-     [Test]
-     [Category("Negative")]
-     public void SomeNegativeTest()
-     {
-         // ...
-     }
+     [Test]
+     [Category("Negative")]
+     public void SomeNegativeTest()
+     {
+         // ...
+     }
  
-     [Test]
-     [Explicit]
-     public void SomeExplicitTest()
-     {
-         // ...
-     }
+     [Test]
+     [Explicit]
+     public void SomeExplicitTest()
+     {
+         // ...
+     }
  }
  
  If one runs nunit.exe against this test fixture using
  '/exclude=Negative', the explicit test runs. The same issue appears when
  Negative category is excluded manually in UI.
+ 
+ UPDATE:
+ NUnit version: 2.6.0.12051

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1006604

Title:
  Explicit test runs if /exclude parameter is used

Status in NUnit V2 Test Framework:
  New

Bug description:
  Assume we have the following test fixture:
  [TestFixture]
  class Test1
  {
      [Test]
      [Category("Negative")]
      public void SomeNegativeTest()
      {
          // ...
      }

      [Test]
      [Explicit]
      public void SomeExplicitTest()
      {
          // ...
      }
  }

  If one runs nunit.exe against this test fixture using
  '/exclude=Negative', the explicit test runs. The same issue appears
  when Negative category is excluded manually in UI.

  UPDATE:
  NUnit version: 2.6.0.12051

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/1006604/+subscriptions


References