mutation-testing

Configures mewt and muton mutation testing campaigns with scoped targets and tuned timeouts.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Ayoub-ouederni/SENTINEL --skill mutation-testing-ayoub-ouederni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mutation-testing
Source: https://github.com/Ayoub-ouederni/SENTINEL/tree/main/.claude/skills/mutation-testing
Command: npx skills add https://github.com/Ayoub-ouederni/SENTINEL --skill mutation-testing-ayoub-ouederni

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Mutation testing campaigns can take dozens of hours when misconfigured, mutating test files, mocks, or dependencies and wasting compute on irrelevant mutants. This Skill guides you through scoping targets, estimating campaign duration, and optimizing configuration before running mewt or muton. ## Core Features & Use Cases - Campaign Configuration: Walks through a 5-phase workflow from mewt init to a validated, ready-to-run campaign with correct target patterns and timeouts. - Duration Estimation & Optimization: Calculates worst-case runtime from mutant count and test duration, then applies strategies like per-component targeting, severity filtering, or two-phase campaigns. - Use Case: You have a Solidity project where mewt run would take 30 hours. Use this Skill to narrow targets to contracts/**/*.sol, set a manual timeout accounting for Forge recompilation, and cut the campaign to an overnight run. ## Quick Start Ask the assistant to configure a mewt mutation testing campaign for your project and estimate how long it will take.

Frequently Asked Questions about mutation-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a mewt mutation testing campaign?

Run mewt init to create mewt.toml and mewt.sqlite, then verify target patterns with mewt print config and mewt print targets. Generate mutants with mewt mutate, estimate duration from mutant count times test duration, and validate everything before running mewt run.

How to reduce mutation testing campaign runtime?

Narrow [targets].include to critical source directories, restrict mutation types to high and medium severity in [run].mutations, or use a two-phase campaign with fast targeted tests first. After changing targets run mewt purge then mewt mutate; after changing mutation types run mewt purge --all.

What is the difference between mewt and muton?

Mewt and muton share identical interfaces but target different languages. Mewt handles general-purpose languages like Rust, Solidity, Go, TypeScript, and JavaScript, while muton targets TON smart contracts written in Tact, Tolk, and FunC.

Why does mewt generate no mutants for my project?

No mutants usually means include patterns do not match your files, ignore patterns are too broad, or the language is unsupported. Check mewt print config, verify files exist matching your include globs, and run mewt print mutations --language to confirm support.

When should I set a manual timeout in mewt.toml?

Set a manual timeout only for recompilation-heavy languages like Solidity with Foundry, where touching a source file drastically increases test time. Measure with and without a touched file, then set timeout to roughly twice the slower measurement; otherwise let mewt auto-calculate.