Esempio n. 1
0
 public void testTemplateMethod()
 {
     WasRun test = new WasRun("testMethod");
     test.run(result);
     Assert.AreEqual("setUp testMethod tearDown ", test.log);
 }
Esempio n. 2
0
 public void testResult()
 {
     WasRun test = new WasRun("testMethod");
     test.run(result);
     Assert.AreEqual("1 run, 0 failed", result.summary());
 }