コード例 #1
0
        protected void SimulateFailedScenario()
        {
            var failureScenario = new Scenario();

            Listener.Handle(new ScenarioStarting {
                Scenario = failureScenario
            });
            Listener.Handle(new LineFailed {
                SuccessPart = "success part", FailedPart = "failed part", ExceptionInfo = "failure message"
            });
        }
コード例 #2
0
 public void SetupContext()
 {
     Listener = new TestGatheringResultListener();
     SimulateRunner();
     Listener.Handle(new SessionFinished());
 }
コード例 #3
0
 public void SetupContext()
 {
     Listener = new TestGatheringResultListener();
     SimulateRunner();
     Listener.Handle(new SessionFinished());
 }