public void TestTemplateMethod() { WasRunObj test = new WasRunObj("TestMethod"); test.Run(m_result); Assert.Equal("SetUp TestMethod TearDown ", test.Log); }
public void TestFailedResult() { WasRunObj test = new WasRunObj("TestBrokenMethod"); test.Run(m_result); Assert.Equal("1 run, 1 failed", m_result.Summary); }
public void TestTearDownWhenTestFailed() { WasRunObj test = new WasRunObj("TestBrokenMethod"); test.Run(m_result); Assert.Equal("SetUp TestBrokenMethod TearDown ", test.Log); }