You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running Stryker on "vscode-python" (thanks @gramster for this gem 💎), you can run into this error:
11:13:28 (1251) ERROR Stryker an error occurred InjectionError: Could not inject [class MutationTestExecutor] -> [token "mutantsWithTestCoverage"] -> [function findMutantTestCoverage]. Cause: Found test with id "Process - PythonExecutionFactory Without a resource Ensure create returns a CondaExecutionService instance if createCondaExecutionService() returns a valid object" in coverage data, but not in the test results of the dry run. This shouldn't happen! Please report the issue at the issue tracker of your stryker test runner
The message is self explanatory. There appears to be data missing in the dry run result.
The specified test looks like this:
test('Ensure `create` returns a CondaExecutionService instance if createCondaExecutionService() returns a valid object',asyncfunction(){// tslint:disable-next-line:no-invalid-thisreturnthis.skip();// [...] });
My conclusion is that we're not handling skipped tests correctly.
The text was updated successfully, but these errors were encountered:
Allow for a coverage per test result for a non-existing test. This can happen when you add a `this.skip` inside a `it`. In that case, `beforeEach` still executes and can add test coverage.
We now ignore simply ignore this and log a debug message.
Fixes#2485
When running Stryker on "vscode-python" (thanks @gramster for this gem 💎), you can run into this error:
The message is self explanatory. There appears to be data missing in the dry run result.
The specified test looks like this:
My conclusion is that we're not handling skipped tests correctly.
The text was updated successfully, but these errors were encountered: