Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

A plugin to use the tape test runner in Stryker, the JavaScript mutation testing framework

License

Notifications You must be signed in to change notification settings

stryker-mutator/stryker-tape-runner

Repository files navigation

Build Status NPM Node version Gitter

Stryker

Stryker Tape Runner

The Stryker TestRunner for Tape

Known issues:

  1. You must use tape-catch otherwise uncaught exceptions will blow up the test runner
  2. If you choose a lot of files to mutate, chances are you'll eventually hit a V8 out of memory error

Instructions:

Add stryker-tape-runner as a plugin and set tape as the test runner + reporter.

Sample config:

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']
  });
};

About

A plugin to use the tape test runner in Stryker, the JavaScript mutation testing framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published