This package has been deprecated

Author message:

Stryker v1 is released, but you're still using a 0.x version. This version is no longer maintained. Please use @stryker-mutator/javascript-mutator. See https://stryker-mutator.io/blog/2019-02-13/announcing-stryker-1-0 for the full migration guide.

stryker-javascript-mutator
TypeScript icon, indicating that this package has built-in type declarations

0.14.1 • Public • Published

Build Status NPM Node version Gitter BCH compliance

Stryker

Stryker JavaScript mutator

A mutator that supports JavaScript for Stryker, the JavaScript Mutation testing framework. This plugin does not transpile any code. The code that the stryker-javascript-mutator gets should be executable in your environment (i.e. the stryker-javascript-mutator does not add support for Babel projects).

Quickstart

First, install Stryker itself (you can follow the quickstart on the website)

Next, install this package:

npm install --save-dev stryker-javascript-mutator

Now open up your stryker.conf.js file and add the following components:

mutator: 'javascript',

Now give it a go:

$ stryker run

JavaScript Mutator

The JavaScript Mutator is a plugin to mutate JavaScript code. This is done using Babel without any plugins.

See test code to know which mutations are supported.

Package Sidebar

Install

npm i stryker-javascript-mutator

Weekly Downloads

115

Version

0.14.1

License

Apache-2.0

Unpacked Size

61.7 kB

Total Files

50

Last publish

Collaborators

  • nicojs
  • simondel
  • strykermutator-npa