void CreatePartCoverApplication(SelectedTests selectedTests)
        {
            NUnitConsoleApplication nunitConsoleApp = new NUnitConsoleApplication(selectedTests, options);

            nunitConsoleApp.Results = base.TestResultsMonitor.FileName;

            OpenCoverSettings settings = settingsFactory.CreateOpenCoverSettings(selectedTests.Project);

            partCoverApplication = new OpenCoverApplication(nunitConsoleApp, settings);
        }
        OpenCoverApplication CreateOpenCoverApplication(ProcessStartInfo startInfo, IEnumerable <ITest> tests)
        {
            IProject          project  = tests.First().ParentProject.Project;
            OpenCoverSettings settings = settingsFactory.CreateOpenCoverSettings(project);
            var application            = new OpenCoverApplication(startInfo, settings, project);

            RemoveExistingCodeCoverageResultsFile(application.CodeCoverageResultsFileName);
            CreateDirectoryForCodeCoverageResultsFile(application.CodeCoverageResultsFileName);
            return(application);
        }