static void RunTestSuiteWhichCreatedFromTestCaseClass() { var suite = new TestSuite(); suite.CreateTestSuiteFor(typeof(TestCaseFixture)); var result = new TestResult(); suite.Run(result); System.Console.WriteLine(result.Summary()); }
static void RunTestSuite() { var suite = new TestSuite(); suite.Add(new TestCaseFixture("TestTemplateMethod")); suite.Add(new TestCaseFixture("TestResult")); suite.Add(new TestCaseFixture("TestFailedResult")); suite.Add(new TestCaseFixture("TestFailedResultFormatting")); suite.Add(new TestCaseFixture("TestSuite")); suite.Add(new TestCaseFixture("TestDetectingWhetherMethodIsTestOrNot")); suite.Add(new TestCaseFixture("TestGettingTestMethodsOfTestCaseClass")); suite.Add(new TestCaseFixture("TestCreatingTestSuiteForTestCase")); var result = new TestResult(); suite.Run(result); System.Console.WriteLine(result.Summary()); }