Reporter | Matt Richardson (mattrichardson) |
---|---|
Created | Jul 6, 2011 2:27:13 PM |
Updated | Jan 23, 2012 10:17:24 PM |
Resolved | Oct 5, 2011 4:17:58 PM |
Priority | Show-stopper |
Type | Bug |
Fix versions | 6.1 |
State | Verified |
Assignee | Victor Kropp (victor.kropp) |
Subsystem | Unit Testing |
Affected versions | 6.0 |
Fixed in build | 6.1.0.7359 |
The resharper 6.0 test runner doesn't work with the following code:
It loses track of the test names, and it also reports the test run as inconclusive.
This works fine in resharper 5.1. The code also runs fine in the nunit gui (2.5.10.11092).
If you remove the generic parameter (on TestBase, TestA and TestB), it works fine.
public abstract class TestBase<T> where T : class, new() { [Test] public void Should_return_false_when_foo_is_true() { } } public class A { } public class B { } [TestFixture] public class TestA : TestBase<A> { } [TestFixture] public class TestB : TestBase<B> { }
It loses track of the test names, and it also reports the test run as inconclusive.
This works fine in resharper 5.1. The code also runs fine in the nunit gui (2.5.10.11092).
If you remove the generic parameter (on TestBase, TestA and TestB), it works fine.