drunkcod/Cone — Issue #19: Tests is not marked as failed when BeforeAll fails
Author: mattyas
Created: 2012-01-12 13:30:37+00:00
State: open

[TestFixture]
public class Class1
{
[TestFixtureSetUp]
public void Fail()
{
throw new Exception();
}

[Test]
public void Test1() // Test is failing in NUnit
{

}
}

[Describe(typeof (Class2))]
public class Class2
{
[BeforeAll]
public void Fail()
{
throw new Exception();
}

public void Test2() // Test gets no status in NUnint, not Ok or Failed
{

}
}