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