public void WhenTheScenarioIsExecuted() { _testSuiteSetupDriver.EnsureAProjectIsCreated(); _solutionDriver.CompileSolution(BuildTool.MSBuild); _solutionDriver.CheckSolutionShouldHaveCompiled(); _vsTestExecutionDriver.ExecuteTests(); }
public void WhenTheScenarioIsFinishedAt(DateTime finishTime) { _testSuiteInitializationDriver.OverrideTestCaseFinishedTime = finishTime; _testSuiteSetupDriver.EnsureAProjectIsCreated(); _solutionDriver.CompileSolution(BuildTool.MSBuild); _solutionDriver.CheckSolutionShouldHaveCompiled(); _vsTestExecutionDriver.ExecuteTests(); }
public void ExecuteTests() { _solutionDriver.DefaultProject.Build(); _solutionDriver.CompileSolution(BuildTool.MSBuild); _solutionDriver.CheckSolutionShouldHaveCompiled(); _vsTestExecutionDriver.ExecuteTests(); }
public void ExecuteTestsTimes(uint times) { if (!_compilationDriver.HasTriedToCompile) { _compilationDriver.CompileSolution(); } for (uint currentTime = 0; currentTime < times; currentTime++) { _vsTestExecutionDriver.ExecuteTests(); } }
public void ExecuteTests() { PrepareTestExecution(); _vsTestExecutionDriver.ExecuteTests(); }
public void WhenIExecuteTheTests() { _solutionDriver.CompileSolution(BuildTool.MSBuild); _solutionDriver.CheckSolutionShouldHaveCompiled(); _vsTestExecution.ExecuteTests(); }