Stryker RunnerWhat is it?Stryker Runner is a Visual Studio Code Extension that is intended to allow users to easily and selectively run Stryker mutation tests against (currently) Javascript and Typescript projects. Why bother with it?There is a lot of value in mutation testing your projects and for Javascript based projects Stryker is a great option. Because of the nature of what mutation testing is trying to achieve and how it works Stryker can be a little painful to use sometimes. Depending on the size and complexity of the codebases, as well as the computing resources available, Stryker tests can be time consuming to run. Stryker does facilitate the execution of mutation testing of single files and on specific line ranges and the original idea of this extension was to surface this functionality into the VSCode workflow for developers. Where can I get it?FeaturesRun Stryker tests against a specific file from:
Run Stryker tests against a selected block of code (line range) in the editor from:
By default Stryker Runner will not make any attempt (e.g. bare Extension SettingsStryker Runner will work out of the box but there are a few configuration options that you may want to take advantage of:
|