Integrates Stryker-JS with the intellij test runner to give you native test runner for Mutation Testing. If you want to
build the plugin yourself and get access to paid features without actually paying, go into
com.blackfireweb.stryker.licencing
and requiresPurchase
to false
. The resulting build will unlock all paid features.
That being said, if you find this plugin saves you time, please consider buying the licence.
./gradlew buildPlugin
./gradlew runIdea
When your version of Stryker is < 4.0, this plugin needs a reporter added to Stryker, stryker-intellij-reporter. If you have version 4.0 or newer, this plugin provides the reporter automatically, so there's no need to do anything.
So if you have a version older than 4.0, first you need to install it as a dependency:
npm i stryker-intellij-reporter -D
And then it needs to be added as a plugin to the Stryker Config:
{
"plugins": [
"@stryker-mutator/*",
"stryker-intellij-reporter"
]
}
Right click a file, or it's corresponding test file, then select "Mutate [filename]"
- At the moment you can't re-run failed mutations
- You can't run a specific mutant yet
- You can't debug mutations