mthmulders / stryker-intern-runner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status NPM Node version

Stryker Intern Runner

A plugin to use Intern in Stryker, the JavaScript mutation testing framework. It works with Intern 4 and above.

Status

A note on the status of this work. It currently does the following:

  1. Detects when Intern has run a test
  2. Detects when Intern has run a test that failed
  3. Detects when Intern has run a test that timed out
  4. Detects when Intern has skipped a test

But I guess it's far from complete yet. Adding coverage support would be a great way to make it run faster. There's probably a few other things that need to be ironed out. With that said, I'm more than happy with any contributions.

Deprecation note

Given how much Stryker has changed, most of the Stryker related code is outdated. This repo may give some inspiration on how to programmatically interact with Intern. But for the Stryker part, it's best to refer to the Create a plugin guide from the Stryker documentation.

Install

This package has not yet been published on npm. For now, you can clone this repository and install it yourself.

Configuring

You can configure the stryker-intern-runner using the stryker.conf.js config file.

// Stryker.conf.js
module.exports = function (config) {
    config.set({
        // ...
        testRunner: 'intern',
        // ...
    });
}

About

License:Apache License 2.0


Languages

Language:TypeScript 73.0%Language:JavaScript 27.0%