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
Have to use "enableFindRelatedTests: false" for jest-runner to kill mutants - otherwise no tests are found for mutants and they all survive.
Using this option makes mutution testing to run much longer then without it. But without it result isn't correct - all mutants survive as no corresponding tests are found.
module.exports={$schema: 'https://raw.githubusercontent.com/stryker-mutator/stryker/master/packages/api/schema/stryker-core.json',mutator: 'typescript',packageManager: 'npm',reporters: ['html','clear-text','progress','dashboard'],testRunner: 'jest',coverageAnalysis: 'off',jest: {config: require('./jest.config'),//next line is required for properly kill mutants - without it all surviveenableFindRelatedTests: false},mutate: ['src/**/*.ts'],thresholds: {high: 80,low: 60,break: null},maxConcurrentTestRunners: 2}
Have to use "enableFindRelatedTests: false" for jest-runner to kill mutants - otherwise no tests are found for mutants and they all survive.
Using this option makes mutution testing to run much longer then without it. But without it result isn't correct - all mutants survive as no corresponding tests are found.
I've setup smallest repo with TS, Jest and stryker setup so that you could see the issue reproduced.
Stryker config
Test runner config (Jest.config.js)
Stryker environment
Test runner environment
Your Environment
Add stryker.log
stryker.log
The text was updated successfully, but these errors were encountered: