Improve your code quality by introducing code variants.
Find hidden bugs and strengthen your test suite.
function add(a, b) { return a + b; }
test("add function", () => { assertEquals(add(2, 2), 4); })
Mutation testing evaluates the quality of your tests by introducing bugs (mutations) into your code and checking if your tests catch them. If your tests fail, the mutant is "killed". If they pass, the mutant "survives". More killed mutants = greater test quality!
Automatically creates code variants (mutants) to simulate bugs in your codebase.
Built specifically for Deno projects with zero configuration required.
Parallel test execution for rapid mutation analysis. Rust Oxc under the hood.
Provides a clear metric of how effective your tests are at catching bugs.
Full support for TypeScript projects with accurate mutation analysis.
Reports showing surviving mutants and areas needing better test coverage.
import { Mutasaurus } from "jsr:@mutasaurus/mutasaurus";
const mutasaurus = new Mutasaurus();
const mutationResult = await mutasaurus.run();
Mutasaurus is an open-source project.
Help us dig up better ways to test Deno applications!