@stryker-mutator/mutator-specification

A package for maintaining common mutator specifications for Stryker - the JavaScript mutation testing framework

Usage no npm install needed!

<script type="module">
  import strykerMutatorMutatorSpecification from 'https://cdn.skypack.dev/@stryker-mutator/mutator-specification';
</script>

README

NPM Node version Slack Chat Stryker

Stryker mutator specification

This package contains a specification for mutators for Stryker - The JavaScript mutation testing framework.

Stryker is language agnostic, examples of mutators are the JavaScript mutator and the TypeScript mutator. However, they share a common set of mutators specified in this package. So this package defines a common set of specifications to which a mutator could conform.

The specifications are written as mocha tests, so it's easy to run them inside your own build as part of insert your custom mutator here. Please take a look at stryker-typescript or stryker-javascript-mutator if you want to know how.