0.4.1 • Published 5 years ago

stryker-jasmine-runner v0.4.1

Weekly downloads
11
License
Apache-2.0
Repository
github
Last release
5 years ago

Build Status NPM Node version Gitter

Stryker Jasmine Runner

A plugin to use Jasmine as a test runner for node in Stryker, the JavaScript mutation testing framework.

Install

Install stryker-jasmine-runner locally within your project folder, like so:

npm i --save-dev stryker-jasmine-runner

Peer dependencies

The stryker-jasmine-runner is a plugin for stryker to enable jasmine as a test runner. As such, you should make sure you have the correct versions of its dependencies installed:

  • jasmine
  • stryker-api

Configuring

You can configure the jasmine test runner in the stryker.conf.js file.

// stryker.conf.js
module.exports = function (config) {
    config.set({
        // ...
        // not required, but boosts performance
        coverageAnalysis: 'perTest', 
        // not required, but will allow you to use coverageAnalysis "perTest". Note: This requires `stryker-jasmine` to also be installed.
        testFramework: 'jasmine', 
        testRunner: 'jasmine',
        jasmineConfigFile: 'spec/support/jasmine.json'
        // ...
    });
}

jasmineConfigFile string

Default: undefined

Specify your jasmine configuration file to be loaded. Leaving this blank will result in the jasmine defaults, which are undocumented (see source code here).

0.4.1

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago