← Back to team overview

nunit-core team mailing list archive

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

 

What version of NUnit are you running? Some problems with Explicit
were fixed in 2.6, but it's also possible that new issues were
introduced.

Charlie

On Wed, May 30, 2012 at 10:31 PM, Vitalii Maklai <vmcl@xxxxxxxxxx> wrote:
> Public bug reported:
>
> 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.
>
> ** Affects: nunitv2
>     Importance: Undecided
>         Status: New
>
> --
> 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.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nunitv2/+bug/1006604/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~nunit-core
> Post to     : nunit-core@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~nunit-core
> More help   : https://help.launchpad.net/ListHelp

-- 
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.

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


References