Stryker4s is a mutation testing framework for Scala. It allows you to test your tests by temporarily inserting bugs.
This guide is for the sbt plugin for Stryker4s. For other ways to run Stryker4s, such as on Maven projects, look at our README.
To install Stryker4s on your project, add the following line to project/plugins.sbt
:
addSbtPlugin("io.stryker-mutator" % "sbt-stryker4s" % stryker4sVersion)
Stryker4s will look for a stryker4s.conf
file in the root of your project. If found it will use the configured values. All arguments in the configuration (and the file itself) are optional. You can find the possible values on our configuration page on GitHub.
Run Stryker4s to mutation test your project:
sbt stryker
Having troubles? Try enabling debug logging, for more information on how to enable debug logging visit our configuration page. If you are having issues please let us know by reporting an issue or talk to us on Gitter.