🚀 DAY 3 OF LAUNCH WEEK: Introducing Webhook Events for Pull Request Scans.Learn more →
Socket
Book a DemoInstallSign in
Socket

@stryker-mutator/jasmine-framework

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stryker-mutator/jasmine-framework

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

latest
Source
npmnpm
Version
4.0.0
Version published
Maintainers
4
Created
Source

Mutation testing badge Build Status NPM Node version Slack Chat

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-mutator/jasmine-framework and jasmine-core into your project via npm:

$ npm install @stryker-mutator/jasmine-framework jasmine-core --save-dev

Note: @stryker-mutator/jasmine-framework only works with jasmine-core >= v2

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

$ npm install @stryker-mutator/core --save-dev

Configuration

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

// `stryker.conf.js` (or stryker.conf.json)
module.exports = {
  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.

Keywords

stryker

FAQs

Package last updated on 07 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts