stryker-api
Version:
The api for the extendable JavaScript mutation testing framework Stryker
25 lines (17 loc) • 1.24 kB
Markdown
[](https://travis-ci.org/stryker-mutator/stryker)
[](https://gitter.im/stryker-mutator/stryker?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

# Stryker API
This is the repository for maintaining the API of the [Stryker](http://stryker-mutator.github.io) JavaScript mutation testing framework.
Plugin creators should depend on this API rather than on the main Stryker repository directly.
# Extension use cases
You can extend Stryker in a number of ways.
1. Create your own `Mutator`
2. Create a custom `Reporter`
3. Create a `TestFramework` for a test framework
4. Create a `TestRunner` to bridge the gap between your test runner and Stryker
5. Create a custom way of configuring Stryker by creating a `ConfigWriter`
All extension points work in the same basic way.
1. Create a `constructor function` (or `class`)
2. Register the `constructor function` to the correct `Factory`.
More info comming soon. In the mean time, take a look at the [Stryker homepage](http://stryker-mutator.github.io).