Beispiel #1
0
 public void WhenTheScenarioIsExecuted()
 {
     _testSuiteSetupDriver.EnsureAProjectIsCreated();
     _solutionDriver.CompileSolution(BuildTool.MSBuild);
     _solutionDriver.CheckSolutionShouldHaveCompiled();
     _vsTestExecutionDriver.ExecuteTests();
 }
Beispiel #2
0
        private void PrepareTestExecution()
        {
            _solutionDriver.DefaultProject.Build();

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

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

            _vsTestExecutionDriver.ExecuteTests();
        }
Beispiel #5
0
 public void ThenNoGenerationErrorIsReported()
 {
     _solutionDriver.CheckSolutionShouldHaveCompiled();
 }
Beispiel #6
0
 public void ThenTheBuildShouldSucceed()
 {
     _solutionDriver.CheckSolutionShouldHaveCompiled();
 }
Beispiel #7
0
 public void ThenNoCompilationErrorsAreReported()
 {
     _solutionDriver.CheckSolutionShouldHaveCompiled();
 }
Beispiel #8
0
 public void WhenIExecuteTheTests()
 {
     _solutionDriver.CompileSolution(BuildTool.MSBuild);
     _solutionDriver.CheckSolutionShouldHaveCompiled();
     _vsTestExecution.ExecuteTests();
 }