Пример #1
0
        public void run_a_test_when_setup_blows_up_do_not_rethrow_exception_and_log_the_exception_to_the_test()
        {
            var runner = TestRunnerBuilder.ForSystem <SystemThatBlowsUpInSetup>();

            var test = new Test("Some test");

            runner.RunTest(test);

            test.LastResult.ExceptionText.ShouldContain("NotImplementedException");
        }
Пример #2
0
 public void SetUp()
 {
     theRunner = TestRunnerBuilder.ForSystem <FakeSerenitySystem>();
 }