protected void When_mutation_testing_the_app(bool captureException = false) { try { MutationTestResult = new MutationTestRunner( MockTestRunner.Object, mockCoverageAnalysisResult != null ? mockCoverageAnalysisResult.Object : null, SpyEventListener) .Run(Config).Result; } catch (Exception e) { Exception = e; if (!captureException) { throw; } } }
protected void When_mutation_testing_the_app() { MutationTestResult = new MutationTestRunner(testRunner, coverageAnalysisResult, SpyEventListener) .Run(config) .Result; }