← Back to team overview

nunit-core team mailing list archive

[Bug 841894] Re: UI won't run tests marked Explicit

 

Assembly1:
namespace Bug841894
{
    [TestFixture]
    public abstract class AbstractTestClass
    {
        [Test]
        public void SomeTest() { }
        [Test, Explicit]
        public void ExplicitTest() { }
    }
}
Assembly2:
namespace Bug841894
{
    public class DerivedTestClass : AbstractTestClass
    {
        [Test]
        public void AnotherTest() { }
    }
}


------
Just a matter of putting [TestFixture] on the abstract class.

I have now confirmed this problem occurs in 2.6 beta. This is being done
as a standard user on a locked down corporate laptop. I'll try again
later on a more workable system.

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

Title:
  UI won't run tests marked Explicit

Status in NUnit V2 Test Framework:
  Incomplete

Bug description:
  NUnit 2.5.10, Gui runner:

  A test marked [Explicit] can only be run from the Gui runner if it is
  the first test run. After that, it is disabled.

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


References