Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

stryker-baseline-reporter

riezebosch26Apache-2.01.0.3

Report improvement (or retrogression) on your mutation score with Stryker

stryker, stryker-plugin, stryker-reporter, mutation, testing, baseline

readme

A baseline reporter for the excellent JavaScript mutation testing framework Stryker.

It's just that.

Store a baseline file after a test run and this reporter tells when there are new mutants on subsequent run.

Installation

npm i --save-dev stryker-baseline-reporter

stryker.conf.js:

module.exports = function (config) {
    config.set({
        reporter: ['clear-text', 'progress', 'baseline'],
    });
}

Run!

Note!

As of writing there is an issue with stryker where test runs can be inconsistent. Of course this is terrible for this reporter because it will impact the outcome.