예제 #1
0
 public TestExecutionRequest(Test test, TestStopConditions conditions)
     : this()
 {
     Test = test;
     TimeoutInSeconds = conditions.TimeoutInSeconds;
     BreakOnExceptions = conditions.BreakOnExceptions;
     BreakOnWrongs = conditions.BreakOnWrongs;
 }
예제 #2
0
 public TestExecutionRequest(Test test, TestStopConditions conditions)
     : this()
 {
     Test              = test;
     TimeoutInSeconds  = conditions.TimeoutInSeconds;
     BreakOnExceptions = conditions.BreakOnExceptions;
     BreakOnWrongs     = conditions.BreakOnWrongs;
 }
        public void SetUp()
        {
            view = new TestStopConditionsView();
            conditions = new TestStopConditions();

            view.Conditions = conditions;

            conditions.TimeoutInSeconds = 60;

            view.Handle(new ProjectLoaded(new Project()
            {
                TimeoutInSeconds = 30
            }));
        }
예제 #4
0
 public TestEngine(ITestRunnerDomain domain, TestStopConditions stopConditions)
 {
     _domain         = domain;
     _stopConditions = stopConditions;
     _watcher        = new FixtureLibraryWatcher(() => reload());
 }