public void testResultSummary() { WasRun test = new WasRun("testMethod"); test.Run(result); Assert.AreEqual("1 run, 0 failed", result.Summary()); }
public void testTemplateMethod() { WasRun test = new WasRun("testMethod"); test.Run(result); Assert.AreEqual("setUp testMethod tearDown ", test.log); }
public void testFailedResult() { WasRun test = new WasRun("testBrokenMethod"); test.Run(result); Assert.AreEqual("1 run, 1 failed", result.Summary()); }