stryker-html-reporter

An html reporter for the JavaScript mutation testing framework Stryker

Stryker v1 is released, but you're still using a 0.x version. This version is no longer maintained. Please use @stryker-mutator/html-reporter. See https://stryker-mutator.io/blog/2019-02-13/announcing-stryker-1-0 for the full migration guide.
Last updated 2 years ago by strykermutator-npa .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install stryker-html-reporter 
SYNC missed versions from official npm registry.

Build Status NPM Node version Gitter

Stryker HTML Reporter

An HTML Reporter for the JavaScript mutation testing framework Stryker

Example

Click on the image below to see a real-life example of a report generated from a test run on stryker itself!

example

Install

Install stryker-html-reporter from your project folder:

npm i --save-dev stryker-html-reporter

Configuring

You can either configure the html reporter from the stryker.conf.js file or from the command line. This readme describes how to do it via the config file.

Load the plugin

In order to use the stryker-html-reporter it must be loaded in the stryker mutation testing framework via the stryker configuration. Easiest is to leave out the plugins section from your config entirely. That way, all node_modules starting with stryker- will be loaded.

If you do descide to choose specific modules, don't forget to add 'stryker-html-reporter' to the list of plugins to load.

Use the reporter

In order to use the reporter, you must add 'html' to the reporters. For example: reporters: ['html', 'progress'].

Options

You can configure the html reporter by adding a htmlReporter object to your config.

htmlReporter.baseDir

Configure the base directory to write the html report to.

Full config example

// stryker.conf.js
exports = function(config){
    config.set({
        // ...
        reporters: ['html'], // You may also want to specify other reporters
        htmlReporter: {
            baseDir: 'reports/mutation/html' // this is the default
        },
        plugins: ['stryker-html-reporter'] // Or leave out the plugin list entirely to load all stryker-* plugins directly
        // ...
    });
}

Usage

Use Stryker as you normally would. The report will be available where you have configured it, or in the reports/mutation/html as a default. See https://stryker-mutator.io for more info.

Current Tags

  • 0.18.1                                ...           latest (2 years ago)

64 Versions

  • 0.18.1 [deprecated]           ...           2 years ago
  • 0.18.0 [deprecated]           ...           2 years ago
  • 0.17.0 [deprecated]           ...           2 years ago
  • 0.16.10 [deprecated]           ...           2 years ago
  • 0.16.9 [deprecated]           ...           2 years ago
  • 0.16.8 [deprecated]           ...           2 years ago
  • 0.16.7 [deprecated]           ...           2 years ago
  • 0.16.6 [deprecated]           ...           2 years ago
  • 0.16.5 [deprecated]           ...           2 years ago
  • 0.16.4 [deprecated]           ...           2 years ago
  • 0.16.3 [deprecated]           ...           2 years ago
  • 0.16.2 [deprecated]           ...           2 years ago
  • 0.16.1 [deprecated]           ...           2 years ago
  • 0.16.0 [deprecated]           ...           2 years ago
  • 0.15.3 [deprecated]           ...           2 years ago
  • 0.15.2 [deprecated]           ...           2 years ago
  • 0.15.1 [deprecated]           ...           2 years ago
  • 0.15.0 [deprecated]           ...           2 years ago
  • 0.14.3 [deprecated]           ...           2 years ago
  • 0.14.2 [deprecated]           ...           2 years ago
  • 0.14.1 [deprecated]           ...           2 years ago
  • 0.14.0 [deprecated]           ...           2 years ago
  • 0.13.3 [deprecated]           ...           2 years ago
  • 0.13.2 [deprecated]           ...           2 years ago
  • 0.13.1 [deprecated]           ...           2 years ago
  • 0.13.0 [deprecated]           ...           2 years ago
  • 0.12.4 [deprecated]           ...           2 years ago
  • 0.12.3 [deprecated]           ...           2 years ago
  • 0.12.2 [deprecated]           ...           2 years ago
  • 0.12.1 [deprecated]           ...           3 years ago
  • 0.12.0 [deprecated]           ...           3 years ago
  • 0.11.5 [deprecated]           ...           3 years ago
  • 0.11.4 [deprecated]           ...           3 years ago
  • 0.11.3 [deprecated]           ...           3 years ago
  • 0.11.2 [deprecated]           ...           3 years ago
  • 0.11.1 [deprecated]           ...           3 years ago
  • 0.11.0 [deprecated]           ...           3 years ago
  • 0.10.2 [deprecated]           ...           3 years ago
  • 0.10.1 [deprecated]           ...           3 years ago
  • 0.10.0 [deprecated]           ...           3 years ago
  • 0.9.1 [deprecated]           ...           3 years ago
  • 0.9.0 [deprecated]           ...           3 years ago
  • 0.8.0 [deprecated]           ...           3 years ago
  • 0.7.2 [deprecated]           ...           3 years ago
  • 0.7.1 [deprecated]           ...           3 years ago
  • 0.7.0 [deprecated]           ...           3 years ago
  • 0.6.0 [deprecated]           ...           3 years ago
  • 0.5.0 [deprecated]           ...           3 years ago
  • 0.4.7 [deprecated]           ...           3 years ago
  • 0.4.6 [deprecated]           ...           3 years ago
  • 0.4.5 [deprecated]           ...           3 years ago
  • 0.4.4 [deprecated]           ...           3 years ago
  • 0.4.3 [deprecated]           ...           3 years ago
  • 0.4.2 [deprecated]           ...           3 years ago
  • 0.4.1 [deprecated]           ...           3 years ago
  • 0.4.0 [deprecated]           ...           3 years ago
  • 0.3.0 [deprecated]           ...           4 years ago
  • 0.2.2 [deprecated]           ...           4 years ago
  • 0.2.1 [deprecated]           ...           4 years ago
  • 0.2.0 [deprecated]           ...           4 years ago
  • 0.1.1 [deprecated]           ...           4 years ago
  • 0.1.0 [deprecated]           ...           4 years ago
  • 0.0.2 [deprecated]           ...           4 years ago
  • 0.0.1 [deprecated]           ...           4 years ago
Downloads
Today 0
This Week 1
This Month 4
Last Day 0
Last Week 2
Last Month 6
Dependencies (8)
Dev Dependencies (9)

Copyright 2014 - 2016 © taobao.org |