Beispiel #1
0
        public void TestFailedResult()
        {
            WasRun test = new WasRun();

            test.Name = test.TestBrokenMethod;

            test.Run(result);

            Assert($"{"1 run, 1 failed" == result.Summary()}");
        }
Beispiel #2
0
        public void TestTemplateMethod()
        {
            WasRun test = new WasRun();

            test.Name = test.TestMethod;

            test.Run(result);

            Assert($"{"SetUp TestMethod TearDown" == test.log}");
        }