GithubHelp home page GithubHelp logo

intellij-stryker-run-config's Introduction

IntelliJ Stryker Plugin

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.

Build

./gradlew buildPlugin

Run

./gradlew runIdea

Reporter Setup (Only if Stryker is < 4.0)

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"
    ]
}

Mutating Files

Right click a file, or it's corresponding test file, then select "Mutate [filename]"

Runner limitations:
  1. At the moment you can't re-run failed mutations
  2. You can't run a specific mutant yet
  3. You can't debug mutations

intellij-stryker-run-config's People

Contributors

garethp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.