You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inheriting from Generic class's nested class fails #290
public class SomeTests
{
internal class Given_non_generic_top
{
internal class Given_nested_non_generic : Given_non_generic_top
{ }
}
internal class Nested_non_generic_test : Given_non_generic_top
.Given_nested_non_generic
{
// Passes
It Should_be_ok = () => true.ShouldBeTrue();
}
internal class Given_generic_top<T>
{
internal class Given_nested_generic : Given_generic_top<T>
{ }
}
internal class Top_generic_test : Given_generic_top<int>
{
// Passes
It Should_be_ok = () => true.ShouldBeTrue();
}
internal class Nested_generic_test : Given_generic_top<int>
.Given_nested_generic
{
// Fails: The parent fixture of this test experienced a failure during test execution
It Should_be_ok = () => true.ShouldBeTrue();
}
}
Activity
Fixes machine#290 - inheriting from generic class's nested class at ref
WaffleSouffle commentedon Mar 29, 2016
Fix in Pull Request #291