public NScanE2EDriver(ITestOutputHelper output) { ITestSupport testSupport = new ConsoleXUnitTestSupport(output); _fixtureSolutionDir = RelevantPaths.CreateHomeForFixtureSolution(_solutionName); _fullFixtureSolutionPath = _fixtureSolutionDir.SolutionFilePath(); _fullFixtureRulesPath = _fixtureSolutionDir.PathToFile(RulesFileName); _projectFiles = new ProjectFiles(_fixtureSolutionDir); _dotNetExe = new DotNetExe(_fixtureSolutionDir, testSupport); _references = new AssemblyReferences(_dotNetExe); _rules = new Rules(); _projectsCollection = new ProjectsCollection(_dotNetExe); _analysisResult = new AnalysisResult(); }
private void AssertFileExists(AbsoluteFilePath filePath) { filePath.Exists().Should().BeTrue(filePath + " should exist"); }