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

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

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

            _vsTestExecutionDriver.ExecuteTests();
        }
예제 #5
0
 public void WhenTheFeatureFilesInTheProjectAreGenerated()
 {
     _solutionDriver.CompileSolution(BuildTool.MSBuild);
 }
예제 #6
0
 public void WhenIBuildWithTreatWarningsAsErrorsEnabled(BuildTool buildTool)
 {
     _solutionDriver.CompileSolution(buildTool, true);
 }
예제 #7
0
 public void WhenTheProjectIsCompiled()
 {
     _solutionDriver.CompileSolution(BuildTool.MSBuild);
 }
예제 #8
0
 public void GivenMSBuildIsUsedForCompiling()
 {
     _solutionDriver.CompileSolution(BuildTool.MSBuild);
 }
예제 #9
0
 public void WhenIExecuteTheTests()
 {
     _solutionDriver.CompileSolution(BuildTool.MSBuild);
     _solutionDriver.CheckSolutionShouldHaveCompiled();
     _vsTestExecution.ExecuteTests();
 }
예제 #10
0
 public void WhenTheProjectIsCompiled()
 {
     _solutionDriver.CompileSolution();
 }