Example #1
0
 public void WhenTheScenarioIsExecuted()
 {
     _testSuiteSetupDriver.EnsureAProjectIsCreated();
     _solutionDriver.CompileSolution(BuildTool.MSBuild);
     _solutionDriver.CheckSolutionShouldHaveCompiled();
     _vsTestExecutionDriver.ExecuteTests();
 }
Example #2
0
 public void WhenTheScenarioIsFinishedAt(DateTime finishTime)
 {
     _testSuiteInitializationDriver.OverrideTestCaseFinishedTime = finishTime;
     _testSuiteSetupDriver.EnsureAProjectIsCreated();
     _solutionDriver.CompileSolution(BuildTool.MSBuild);
     _solutionDriver.CheckSolutionShouldHaveCompiled();
     _vsTestExecutionDriver.ExecuteTests();
 }
Example #3
0
        public void ExecuteTests()
        {
            _solutionDriver.DefaultProject.Build();

            _solutionDriver.CompileSolution(BuildTool.MSBuild);
            _solutionDriver.CheckSolutionShouldHaveCompiled();

            _vsTestExecutionDriver.ExecuteTests();
        }
Example #4
0
        public void ExecuteTestsTimes(uint times)
        {
            if (!_compilationDriver.HasTriedToCompile)
            {
                _compilationDriver.CompileSolution();
            }

            for (uint currentTime = 0; currentTime < times; currentTime++)
            {
                _vsTestExecutionDriver.ExecuteTests();
            }
        }
Example #5
0
        public void ExecuteTests()
        {
            PrepareTestExecution();

            _vsTestExecutionDriver.ExecuteTests();
        }
Example #6
0
 public void WhenIExecuteTheTests()
 {
     _solutionDriver.CompileSolution(BuildTool.MSBuild);
     _solutionDriver.CheckSolutionShouldHaveCompiled();
     _vsTestExecution.ExecuteTests();
 }