Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.vscode
src feat(rename): rename `stryker-xxx-xxx` -> `@stryker-mutator/xxx-xxx` Feb 13, 2019
test
.npmignore feat(rename): rename `stryker-xxx-xxx` -> `@stryker-mutator/xxx-xxx` Feb 13, 2019
.npmrc
CHANGELOG.md
README.md docs(README): prepare README's for v1 (#1394) Feb 13, 2019
package.json
tsconfig.json
tsconfig.src.json
tsconfig.test.json

README.md

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-mutator/javascript-mutator gets should be executable in your environment (i.e. the @stryker-mutator/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-mutator/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.

You can’t perform that action at this time.