I have create a generic abstract base class to do some common tests. The test are showing up, but they are ignored. Why?
Example
public abstract class FooBase<TA, TB> : TestBase<TA, TB>
{
[Test]
public void SomeBaseTest(){}
}
[TestFixture]
public class ConcreteFooTest:FooBase<IFoo,MyContext>
{
[Test]
public void WorkingTest(){}
}
It this example are SomeBaseTest ignored.
TestBase are used by all my tests and are only containing some help methods, and no tests
As Ritch states it is due to RS’ test runner. This is a bug in RS 6.0 which is scheduled for fix in 6.1.
See RSRP-273687 Unit test runner shows inconclusive with test class with generic base class.