예제 #1
0
        public void increment_exceptions()
        {
            var test    = new Test("some test");
            var context = new TestContext(new Container(), test, new ConsoleListener());

            context.IncrementExceptions();

            context.Counts.ShouldEqual(0, 0, 1, 0);
        }
예제 #2
0
        public void increment_exceptions()
        {
            var test = new Test("some test");
            var context = new TestContext(new Container(), test, new ConsoleListener());

            context.IncrementExceptions();

            context.Counts.ShouldEqual(0, 0, 1, 0);
        }
예제 #3
0
 private void captureException(string exceptionText)
 {
     _context.IncrementExceptions();
     _context.ResultsFor(_request.Test).CaptureException(exceptionText);
 }