darkscripty/morris

2026-05-02

Language: Rust

Link: https://github.com/darkscripty/morris

Morris is a Rust tool that brings AI-driven mutation testing to your test suites. The core idea is straightforward but powerful: instead of blindly mutating your source code at random (as traditional mutation testing tools do), Morris uses AI to generate targeted, high-impact code mutations that are more likely to expose genuine weaknesses in your tests.

Mutation testing is one of the most effective ways to measure the real quality of a test suite. Code coverage tells you which lines were executed, but mutation testing tells you whether your tests would actually catch a bug if one were introduced. The problem is that naive mutation testing generates enormous numbers of trivial mutants, many of which are equivalent or uninteresting, leading to slow runs and noisy results.

This is where Morris gets interesting. By leveraging AI to select mutations that are semantically meaningful — the kind of mistakes a real developer might make — it aims to cut through the noise and surface the mutations that matter. This could dramatically reduce the time spent triaging surviving mutants while increasing the signal you get from each test run.

Who would find this useful:

The project is still early (zero stars at time of writing), but the concept is solid. Mutation testing has historically been underused because of its computational cost and noise. AI-guided mutation selection is a logical evolution, and building it for Rust — a language where correctness is a first-class concern — is a smart choice of ecosystem.

Why check it out: Morris tackles a real gap in Rust tooling by using AI to make mutation testing smarter, faster, and more actionable.

All newsletters