The Stryker TestRunner for Tape
- You must use tape-catch otherwise uncaught exceptions will blow up the test runner
- If you choose a lot of files to mutate, chances are you'll eventually hit a V8 out of memory error
Add stryker-tape-runner as a plugin and set tape as the test runner + reporter.
module.exports = function (config) {
config.set({
files: [
'test/tape/**/*.js',
{ pattern: 'src/analyseSentiment.js', included: false, mutated: true },
{ pattern: 'src/**/*.js!analyseSentiment.js', included: false, mutated: false }
],
testFramework: 'tape',
maxConcurrentTestRunners: 3,
testRunner: 'tape',
coverageAnalysis: 'off',
reporter: ['progress', 'clear-text'],
logLevel: 'info',
plugins: ['stryker-tape-runner']
});
};