NUnit 2.5/RS 6 and abstract generic base class marks fixture as Inconclusive.
(Having trouble submitting code on youtrack since it won't parse properly in Opera when using {code} tags?)
I can't seem to run the TestValue() test any way. If I try to run "TestValue()" or "Test" fixture class I only get "Test: Inconclusive" in output.
Anyone knows if this is error due to bug in NUnit or due to RS?
[TestFixture]
public abstract class BaseTest<T>
{
protected abstract T GetValue();
[Test]
public void TestValue()
{
Assert.AreEqual(1, GetValue());
}
}
[TestFixture]
public class Test : BaseTest<int>
{
protected override int GetValue()
{
return 1;
}
}
Thanks.
*Edit: I've now also tested with NUnit 2.5.10.11092 with same behavior.
Please sign in to leave a comment.
Seems to be a regression bug from RS 5.1, see http://youtrack.jetbrains.net/issue/RSRP-273687 "Unit test runner shows inconclusive with test class with generic base class".