open-index/open-npm huggingface dataset:
npm package: @stryker-mutator/jasmine-framework
Description: A plugin to use the Jasmine test framework in Stryker, the JavaScript mutation testing framework
Author: Nico Jansen
Latest version: 4.0.0
Deprecated: Use @stryker-mutator/jasmine-runner instead

[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fstryker-mutator%2Fstryker%2Fmaster%3Fmodule%3Djasmine-framework)](https://dashboard.stryker-mutator.io/reports/github.com/stryker-mutator/stryker/master?module=jasmine-framework)
[![Build Status](https://github.com/stryker-mutator/stryker/workflows/CI/badge.svg)](https://github.com/stryker-mutator/stryker/actions?query=workflow%3ACI+branch%3Amaster)
[![NPM](https://img.shields.io/npm/dm/@stryker-mutator/jasmine-framework.svg)](https://www.npmjs.com/package/@stryker-mutator/jasmine-framework)
[![Node version](https://img.shields.io/node/v/@stryker-mutator/jasmine-framework.svg)](https://img.shields.io/node/v/@stryker-mutator/jasmine-framework.svg)
[![Slack Chat](https://img.shields.io/badge/slack-chat-brightgreen.svg?logo=slack)](https://join.slack.com/t/stryker-mutator/shared_invite/enQtOTUyMTYyNTg1NDQ0LTU4ODNmZDlmN2I3MmEyMTVhYjZlYmJkOThlNTY3NTM1M2QxYmM5YTM3ODQxYmJjY2YyYzllM2RkMmM1NjNjZjM)

![Stryker](https://github.com/stryker-mutator/stryker/raw/master/stryker-80x80.png)

# Stryker Jasmine

A plugin to use the Jasmine test framework in [Stryker](https://stryker-mutator.io), 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:

```bash
$ 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:

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

## Configuration

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

```javascript
// `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](https://github.com/stryker-mutator/stryker) main readme for more information on how to choose the (test) files and other options.
npm package: @stryker-mutator/jasmine-runner
Description: A plugin to use the Jasmine (NodeJS) test runner in Stryker, the mutation testing framework for JavaScript and friends
Author: Nico Jansen
Latest version: 9.6.1

[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fstryker-mutator%2Fstryker-js%2Fmaster%3Fmodule%3Djasmine-runner)](https://dashboard.stryker-mutator.io/reports/github.com/stryker-mutator/stryker-js/master?module=jasmine-runner)
[![Build Status](https://github.com/stryker-mutator/stryker-js/workflows/CI/badge.svg)](https://github.com/stryker-mutator/stryker-js/actions?query=workflow%3ACI+branch%3Amaster)
[![NPM](https://img.shields.io/npm/dm/@stryker-mutator/jasmine-runner.svg)](https://www.npmjs.com/package/@stryker-mutator/jasmine-runner)
[![Node version](https://img.shields.io/node/v/@stryker-mutator/jasmine-runner.svg)](https://img.shields.io/node/v/@stryker-mutator/jasmine-runner.svg)
[![Slack Chat](https://img.shields.io/badge/slack-chat-brightgreen.svg?logo=slack)](https://join.slack.com/t/stryker-mutator/shared_invite/enQtOTUyMTYyNTg1NDQ0LTU4ODNmZDlmN2I3MmEyMTVhYjZlYmJkOThlNTY3NTM1M2QxYmM5YTM3ODQxYmJjY2YyYzllM2RkMmM1NjNjZjM)

# StrykerJS Jasmine Runner

A plugin to use Jasmine **as a test runner for node** in [StrykerJS](https://stryker-mutator.io), the JavaScript mutation testing framework.

[See the Jasmine Runner's documentation on stryker-mutator.io](https://stryker-mutator.io/docs/stryker-js/jasmine-runner).
npm package: @stryker-mutator/jest-runner
Description: A plugin to use the jest test runner and framework in Stryker, the JavaScript mutation testing framework
Author: Sander koenders
Latest version: 9.6.1

[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fstryker-mutator%2Fstryker-js%2Fmaster%3Fmodule%3Djest-runner)](https://dashboard.stryker-mutator.io/reports/github.com/stryker-mutator/stryker-js/master?module=jest-runner)
[![Build Status](https://github.com/stryker-mutator/stryker-js/workflows/CI/badge.svg)](https://github.com/stryker-mutator/stryker-js/actions?query=workflow%3ACI+branch%3Amaster)
[![Slack Chat](https://img.shields.io/badge/slack-chat-brightgreen.svg?logo=slack)](https://join.slack.com/t/stryker-mutator/shared_invite/enQtOTUyMTYyNTg1NDQ0LTU4ODNmZDlmN2I3MmEyMTVhYjZlYmJkOThlNTY3NTM1M2QxYmM5YTM3ODQxYmJjY2YyYzllM2RkMmM1NjNjZjM)

![Stryker](https://github.com/stryker-mutator/stryker-js/raw/master/stryker-80x80.png)

# StrykerJS Jest Runner

A plugin to use [Jest](https://jestjs.io/) as a test runner in [StrykerJS](https://stryker-mutator.io), the JavaScript mutation testing framework.

[See the Jest Runner's documentation on stryker-mutator.io](https://stryker-mutator.io/docs/stryker-js/jest-runner).
npm package: @stryker-mutator/karma-runner
Description: A plugin to use the karma test runner in Stryker, the JavaScript mutation testing framework
Author: Nico Jansen
Latest version: 9.6.1

[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fstryker-mutator%2Fstryker-js%2Fmaster%3Fmodule%3Dkarma-runner)](https://dashboard.stryker-mutator.io/reports/github.com/stryker-mutator/stryker-js/master?module=karma-runner)
[![Build Status](https://github.com/stryker-mutator/stryker-js/workflows/CI/badge.svg)](https://github.com/stryker-mutator/stryker-js/actions?query=workflow%3ACI+branch%3Amaster)
[![NPM](https://img.shields.io/npm/dm/@stryker-mutator/karma-runner.svg)](https://www.npmjs.com/package/@stryker-mutator/karma-runner)
[![Node version](https://img.shields.io/node/v/@stryker-mutator/karma-runner.svg)](https://img.shields.io/node/v/@stryker-mutator/karma-runner.svg)
[![Slack Chat](https://img.shields.io/badge/slack-chat-brightgreen.svg?logo=slack)](https://join.slack.com/t/stryker-mutator/shared_invite/enQtOTUyMTYyNTg1NDQ0LTU4ODNmZDlmN2I3MmEyMTVhYjZlYmJkOThlNTY3NTM1M2QxYmM5YTM3ODQxYmJjY2YyYzllM2RkMmM1NjNjZjM)

# StrykerJS Karma Runner

A plugin to use the karma test runner (or [@angular/cli](https://www.npmjs.com/package/@angular/cli)'s `ng test`) in [StrykerJS](https://stryker-mutator.io), the JavaScript mutation testing framework

[See the Karma Runner's documentation on stryker-mutator.io](https://stryker-mutator.io/docs/stryker-js/karma-runner).
npm package: @stryker-mutator/mocha-framework
Description: A plugin to use the mocha test framework in Stryker, the JavaScript mutation testing framework
Author: Nico Jansen
Latest version: 4.0.0
Deprecated: Use @stryker-mutator/mocha-runner instead

[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fstryker-mutator%2Fstryker%2Fmaster%3Fmodule%3Dmocha-framework)](https://dashboard.stryker-mutator.io/reports/github.com/stryker-mutator/stryker/master?module=mocha-framework)
[![Build Status](https://github.com/stryker-mutator/stryker/workflows/CI/badge.svg)](https://github.com/stryker-mutator/stryker/actions?query=workflow%3ACI+branch%3Amaster)
[![NPM](https://img.shields.io/npm/dm/@stryker-mutator/mocha-framework.svg)](https://www.npmjs.com/package/@stryker-mutator/mocha-framework)
[![Node version](https://img.shields.io/node/v/@stryker-mutator/mocha-framework.svg)](https://img.shields.io/node/v/@stryker-mutator/mocha-framework.svg)
[![Slack Chat](https://img.shields.io/badge/slack-chat-brightgreen.svg?logo=slack)](https://join.slack.com/t/stryker-mutator/shared_invite/enQtOTUyMTYyNTg1NDQ0LTU4ODNmZDlmN2I3MmEyMTVhYjZlYmJkOThlNTY3NTM1M2QxYmM5YTM3ODQxYmJjY2YyYzllM2RkMmM1NjNjZjM)

# Stryker Mocha Framework

A plugin to speed up [Mocha](http://mochajs.org/) tests in [Stryker](https://stryker-mutator.io), the JavaScript mutation testing framework.

This plugin makes it possible for Stryker to use `coverageAnalysis: 'perTest'`, by providing the abstraction to select which individual test(s) to run. You might also be looking for the [stryker-mocha-runner](https://www.npmjs.com/package/stryker-mocha-runner), which makes it possible to use the node-based Mocha test runner in stryker.

## Install

Install @stryker-mutator/mocha-framework locally within your project folder, like so:

```bash
npm i --save-dev @stryker-mutator/mocha-framework
```

## Peer dependencies

The `@stryker-mutator/mocha-framework` is a plugin to use `mocha` for `stryker` as a test framework.
As such, you should make sure you have the correct versions of its dependencies installed:

* `@stryker-mutator/core`
* `mocha`

## Configuring

You can either configure the mocha test framework using the command line or by providing it in the `stryker.conf.js` file.
This README describes how to use the `stryker.conf.js` (or `stryker.conf.json`) config file:

```javascript
// stryker.conf.js
module.exports = {
    // ...
    testFramework: 'mocha',
    coverageAnalysis: 'perTest'
    // ...
}
```
npm package: @stryker-mutator/mocha-runner
Description: A plugin to use the mocha test runner in Stryker, the JavaScript mutation testing framework
Author: Simon de Lang
Latest version: 9.6.1

[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fstryker-mutator%2Fstryker-js%2Fmaster%3Fmodule%3Dmocha-runner)](https://dashboard.stryker-mutator.io/reports/github.com/stryker-mutator/stryker-js/master?module=mocha-runner)
[![Build Status](https://github.com/stryker-mutator/stryker-js/workflows/CI/badge.svg)](https://github.com/stryker-mutator/stryker-js/actions?query=workflow%3ACI+branch%3Amaster)
[![NPM](https://img.shields.io/npm/dm/@stryker-mutator/mocha-runner.svg)](https://www.npmjs.com/package/@stryker-mutator/mocha-runner)
[![Node version](https://img.shields.io/node/v/@stryker-mutator/mocha-runner.svg)](https://img.shields.io/node/v/@stryker-mutator/mocha-runner.svg)
[![Slack Chat](https://img.shields.io/badge/slack-chat-brightgreen.svg?logo=slack)](https://join.slack.com/t/stryker-mutator/shared_invite/enQtOTUyMTYyNTg1NDQ0LTU4ODNmZDlmN2I3MmEyMTVhYjZlYmJkOThlNTY3NTM1M2QxYmM5YTM3ODQxYmJjY2YyYzllM2RkMmM1NjNjZjM)

# StrykerJS Mocha Runner

A plugin to use Mocha in [StrykerJS](https://stryker-mutator.io), the JavaScript mutation testing framework.

[See the Mocha Runner's documentation on stryker-mutator.io](https://stryker-mutator.io/docs/stryker-js/mocha-runner).
npm package: @stryker-mutator/mutator-specification
Description: A package for maintaining common mutator specifications for Stryker - the JavaScript mutation testing framework
Author: Nico Jansen
Latest version: 3.3.1
Deprecated: This package is now included in @stryker-mutator/api. There is no reason to use this package.

[![NPM](https://img.shields.io/npm/dm/@stryker-mutator/mutator-specification.svg)](https://www.npmjs.com/package/@stryker-mutator/mutator-specification)
[![Node version](https://img.shields.io/node/v/@stryker-mutator/mutator-specification.svg)](https://img.shields.io/node/v/@stryker-mutator/mutator-specification.svg)
[![Slack Chat](https://img.shields.io/badge/slack-chat-brightgreen.svg?logo=slack)](https://join.slack.com/t/stryker-mutator/shared_invite/enQtOTUyMTYyNTg1NDQ0LTU4ODNmZDlmN2I3MmEyMTVhYjZlYmJkOThlNTY3NTM1M2QxYmM5YTM3ODQxYmJjY2YyYzllM2RkMmM1NjNjZjM)
![Stryker](https://github.com/stryker-mutator/stryker/raw/master/stryker-80x80.png)

# Stryker mutator specification

This package contains a specification for mutators for [Stryker](https://stryker-mutator.io) - The JavaScript mutation testing framework.

Stryker is language agnostic, examples of mutators are the [JavaScript mutator](https://github.com/stryker-mutator/stryker/tree/master/packages/javascript-mutator) and the [TypeScript mutator](https://github.com/stryker-mutator/stryker/tree/master/packages/typescript). However, they share a common set of mutators specified in this package. So this package defines a common set of specifications to which a mutator *could* conform.

The specifications are written as mocha tests, so it's easy to run them inside your own build as part of *insert your custom mutator here*. Please take a look at stryker-typescript or stryker-javascript-mutator if you want to know how.