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());
        }
 public void TestSuite()
 {
     var suite = new TestSuite();
     suite.Add(new WasRun("TestMethod"));
     suite.Add(new WasRun("TestBrokenMethod"));
     suite.Run(_result);
     Assert.AreEqual("2 run, 1 failed", _result.Summary());
 }