@stryker-mutator/core

  • Version 8.6.0
  • Published
  • 1.11 MB
  • 27 dependencies
  • Apache-2.0 license

Install

npm i @stryker-mutator/core
yarn add @stryker-mutator/core
pnpm add @stryker-mutator/core

Overview

The extendable JavaScript mutation testing framework

Index

Classes

class Stryker

class Stryker {}
  • The main Stryker class. It provides a single runMutationTest() function which runs mutation testing:

constructor

constructor(cliOptions: PartialStrykerOptions, injectorFactory?: any);
  • Parameter cliOptions

    The cli options.

    Parameter injectorFactory

    The injector factory, for testing purposes only

method runMutationTest

runMutationTest: () => Promise<MutantResult[]>;

    class StrykerCli

    class StrykerCli {}

      constructor

      constructor(
      argv: string[],
      program?: Command,
      runMutationTest?: (options: PartialStrykerOptions) => Promise<MutantResult[]>
      );

        method run

        run: () => void;

          Package Files (3)

          Dependencies (27)

          Dev Dependencies (8)

          Peer Dependencies (0)

          No peer dependencies.

          Badge

          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@stryker-mutator/core.

          • Markdown
            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@stryker-mutator/core)
          • HTML
            <a href="https://www.jsdocs.io/package/@stryker-mutator/core"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>