Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Angular
  3. stryker-js

stryker-js

Apache-2.0TypeScriptv9.6.1

A mutation testing framework for JavaScript, TypeScript, and related ecosystems to improve test quality.

Visit WebsiteGitHubGitHub
3.0k stars270 forks0 contributors

What is stryker-js?

StrykerJS is a mutation testing framework for JavaScript, TypeScript, and related languages that helps developers assess and improve the quality of their test suites. It works by creating small mutations (artificial bugs) in the source code and checking whether existing tests can detect these changes, providing a more reliable metric than code coverage alone. This process identifies weak tests and ensures that test suites are robust enough to catch real bugs.

Target Audience

JavaScript and TypeScript developers, QA engineers, and teams focused on improving test reliability and software quality in modern web applications.

Value Proposition

Developers choose StrykerJS because it offers a practical, plugin-based approach to mutation testing with support for popular test runners, helping teams move beyond superficial coverage metrics to build truly effective test suites that catch bugs early.

Overview

Mutation testing for JavaScript and friends

Use Cases

Best For

  • Evaluating the effectiveness of unit tests in JavaScript projects
  • Identifying weak spots in test suites for TypeScript applications
  • Improving test quality beyond code coverage metrics
  • Integrating mutation testing into CI/CD pipelines
  • Ensuring test robustness in monorepo setups
  • Comparing test performance across different test runners like Jest or Mocha

Not Ideal For

  • Projects with minimal or no existing test suites, as StrykerJS requires tests to detect mutations effectively.
  • Teams under tight deadlines prioritizing fast test execution, since mutation testing can be slow and computationally expensive.
  • Simple applications where basic code coverage metrics suffice and the overhead of setup isn't justified.

Pros & Cons

Pros

Accurate Test Evaluation

Uses mutation testing to inject artificial bugs, providing a more reliable measure of test effectiveness than code coverage alone, as emphasized in its philosophy.

Multi-Language Support

Works with JavaScript, TypeScript, and other transpiled languages via plugins, making it versatile for modern web development ecosystems.

Flexible Test Runner Integration

Integrates with popular test runners like Jest, Mocha, and Karma, allowing teams to use existing setups without major changes.

Extensible Plugin System

Supports custom mutators, reporters, and test runners through plugins, enabling tailored workflows for specific project needs.

Cons

Performance Overhead

Mutation testing requires running the test suite multiple times per mutation, leading to significant runtime increases, especially for large codebases.

Configuration Complexity

Setting up involves detailed configuration files and understanding mutators, which can be daunting for teams new to mutation testing.

External Documentation Reliance

Critical details like mutator lists and advanced configuration are hosted on an external website, fragmenting the learning experience and requiring extra steps.

Frequently Asked Questions

Quick Stats

Stars2,958
Forks270
Contributors0
Open Issues57
Last commit1 day ago
CreatedSince 2016

Tags

#hacktoberfest#test-coverage#stryker#nodejs#typescript#testing#test-automation#mocha#javascript#testing-tools#mutation-testing#test-quality#jest

Built With

N
Node.js
p
pnpm
n
npm

Links & Resources

Website

Included in

Angular10.0k
Auto-fetched 17 hours ago

Related Projects

mswmsw

Industry standard API mocking for JavaScript.

Stars18,088
Forks614
Last commit2 days ago
spectatorspectator

🦊 🚀 A Powerful Tool to Simplify Your Angular Tests

Stars2,189
Forks186
Last commit4 months ago
ng-mocksng-mocks

Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup

Stars1,156
Forks121
Last commit2 days ago
ArchUnitTSArchUnitTS

ArchUnitTS is an architecture testing library. Specify and ensure architecture rules in your TypeScript app. Easy setup and pipeline integration.

Stars444
Forks13
Last commit10 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub