Exemple #1
0
        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;
                }
            }
        }
Exemple #2
0
 protected void When_mutation_testing_the_app()
 {
     MutationTestResult = new MutationTestRunner(testRunner, coverageAnalysisResult, SpyEventListener)
                          .Run(config)
                          .Result;
 }