Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

stryker-jasmine

stryker-mutator102Apache-2.00.12.1TypeScript support: included

A plugin to use the Jasmine test framework in Stryker, the JavaScript mutation testing framework

stryker, jasmine, stryker-plugin, stryker-test-framework, stryker-karma-runner, stryker-jasmine-runner

readme

Build Status NPM Node version Gitter

Stryker

Stryker Jasmine

A plugin to use the Jasmine test framework in Stryker, the JavaScript mutation testing framework.

This plugin provides beforeEach, afterEach and filter hooks to Stryker, so you are able to use coverageAnalysis: 'perTest' with jasmine.

Installation

Install stryker-jasmine and jasmine-core into your project via npm:

$ npm install stryker-jasmine jasmine-core --save-dev

Note: stryker-jasmine only works with jasmine-core >= v2

Since stryker-jasmine is a plugin for Stryker, you likely have it installed already, but in case you don't:

$ npm install stryker stryker-api --save-dev

Configuration

Set the testFramework setting to 'jasmine' in your stryker config file.

// stryker.conf.js
module.exports = function(config) {
  config.set({
    testFramework: 'jasmine',
  });
};

You can also pass --testFramework jasmine as command line argument when running stryker.

See the Stryker main readme for more information on how to choose the (test) files and other options.

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.12.1 (2019-02-12)

Note: Version bump only for package stryker-jasmine

0.12.0 (2019-02-08)

Features

  • test-frameworks: Remove side effects from all test-framework plugins (#1319) (a7160f4)
  • test-runner: Use new plugin system to load TestRunner plugins (#1361) (266247b)

0.11.0 (2018-12-23)

Features

0.10.9 (2018-12-12)

Note: Version bump only for package stryker-jasmine

0.10.8 (2018-11-29)

Bug Fixes

  • stryker-api: Update stryker-api peer dependency version (677fc28)

0.10.7 (2018-11-29)

Note: Version bump only for package stryker-jasmine

0.10.6 (2018-11-13)

Note: Version bump only for package stryker-jasmine

0.10.5 (2018-10-15)

Bug Fixes

  • version: Version bump for failed release (8cf9e87)

0.10.3 (2018-10-03)

Note: Version bump only for package stryker-jasmine

0.10.2 (2018-09-14)

Note: Version bump only for package stryker-jasmine

0.10.1 (2018-08-21)

Note: Version bump only for package stryker-jasmine

0.10.0 (2018-08-19)

Features

  • stryker config: rename config setting reporter to reporters (#1088) (584218a), closes #793

0.9.2 (2018-08-17)

Bug Fixes

  • dependencies: support stryker-api 0.19.0 (#1087) (44ce923)

0.9.1 (2018-08-17)

Note: Version bump only for package stryker-jasmine

0.9.0 (2018-07-20)

Bug Fixes

Features

0.8.7 (2018-07-04)

Note: Version bump only for package stryker-jasmine

0.8.6 (2018-05-31)

Note: Version bump only for package stryker-jasmine

0.8.5 (2018-05-21)

Note: Version bump only for package stryker-jasmine

0.8.4 (2018-04-30)

Note: Version bump only for package stryker-jasmine

0.8.3 (2018-04-20)

Note: Version bump only for package stryker-jasmine

0.8.2 (2018-04-12)

Note: Version bump only for package stryker-jasmine

0.8.1 (2018-04-11)

Bug Fixes

0.8.0 (2018-04-04)

Note: Version bump only for package stryker-jasmine

0.7.8 (2018-03-22)

Bug Fixes

  • peerDependency: update stryker-api requirement to ^0.14.0 (3ce04d4)

0.7.7 (2018-03-22)

Note: Version bump only for package stryker-jasmine

0.7.6 (2018-03-21)

Note: Version bump only for package stryker-jasmine

0.7.5 (2018-02-07)

Bug Fixes

  • dependencies: update stryker-api requirement to ^0.13.0 (8eba6d4)

0.7.4 (2018-02-07)

Note: Version bump only for package stryker-jasmine

0.7.3 (2017-12-21)

Note: Version bump only for package stryker-jasmine

0.7.2 (2017-11-27)

Note: Version bump only for package stryker-jasmine

0.7.1 (2017-10-24)

Note: Version bump only for package stryker-jasmine

0.7.0 (2017-10-20)

Bug Fixes

  • mocha framework: Select tests based on name (#413) (bb7c02f), closes #249

BREAKING CHANGES

  • mocha framework: * Change api of TestFramework. It now provides an array of TestSelection objects, instead of an array of numbers with test ids.

0.6.0 (2017-09-19)

0.5.0 (2017-08-25)

Code Refactoring

  • change ConfigWriter interface name to ConfigEditor (#357) (ec4ae03)

BREAKING CHANGES

  • Public api for ConfigWriter is renamed to ConfigEditor. The corresponding write method is renamed to edit. If you're using custom ConfigWriter plugins you should rename the write method to edit. Please update the stryker-mocha-framework and stryker-karma-runner to the latest versions as they provide the new ConfigEditor plugin.

0.4.0 (2017-08-11)

Features

  • ci-integration: Configurable thresholds based on mutation score (#355) (93f28cc), closes #220

0.3.0 (2017-08-04)

0.2.7 (2017-07-14)

0.2.6 (2017-06-16)

Bug Fixes

  • npmignore: Align npm ignores (#321) (db2a56e)
  • Manual version bump (a67d90b)

0.2.3 (2017-06-08)

0.2.2 (2017-06-02)

0.2.0 (2017-04-21)

Bug Fixes

  • deps: Update stryker-api version (d685481)

Features

  • es2015-promise: Remove dep to es6-promise (#2) (413c22a)
  • jasmine: Add jasmine test framework (85709b0)

0.1.0 (2016-11-20)

0.0.3 (2016-11-13)

  • chore: release v0.0.3 (9eda27c)
  • fix(deps): Update stryker-api version (db11569)

0.0.2 (2016-11-12)

  • chore: release v0.0.2 (72596fb)
  • chore: Update stryker-api dep (b5e7b1a)

0.0.1 (2016-11-12)

  • chore: initial changelog (12f1693)
  • chore: Prepare for first release (1227e2b)
  • chore: release v0.0.1 (4bbede4)
  • chore: update contributors (380aeed)
  • feat(jasmine): Add jasmine test framework (4f992e4)