Using Resharper Ultimate 10 and NUnit 3 Trying to write some unit tests that have a base class
[TestFixture]
public abstract class BaseTests
{
protected BaseTests( /*some parameters */)
{
// some ctor code
}
[SetUp]
public void Setup()
{
// some setup code
}
[Test]
public void Test1()
{
// some tests code
}
[Test]
public void Test2()
{
// some tests code
}
}
[TestFixture]
public class TestA : BaseTests
{
public TestA() : base(/* some parameters */) { }
}
[TestFixture]
public class TestB : BaseTests
{
public TestB() : base(/* some parameters */) { }
}
My problem is that the unit test runner (resharper) shows those tests inconclusive
even though if I debug none of the tests fail.
Ideas?
Aucun commentaire:
Enregistrer un commentaire