Exemplo n.º 1
0
        public void TestFailedResult()
        {
            WasRun test = new WasRun();

            test.Name = test.TestBrokenMethod;

            test.Run(result);

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

            test.Name = test.TestMethod;

            test.Run(result);

            Assert($"{"SetUp TestMethod TearDown" == test.log}");
        }
Exemplo n.º 3
0
 internal void Add(WasRun wasRun)
 {
     tests.Add(wasRun);
 }