- Home
- Skills
- Testing & Debugging
- test legion
Works with the AI Agents you already use
test legion
Deterministic mutation testing and edge-case generation for Python and JavaScript suites.
$19.90
test legion
Example session with this skill installed
Run a mutation gauntlet on the auth module and show me any survivors. Use a 70% kill-rate threshold.
- Read your context and instructions
- Compiled the test legion
I have executed the mutation gauntlet for the auth module. The system generated 45 mutants by swapping comparison operators and flipping boolean logic. The current suite killed 32 mutants, resulting in a 71.1% kill rate.
Mutation Analysis: auth_service.py
| Mutant ID | Type | Location | Status | Result |
|---|---|---|---|---|
| MUT-001 | ComparisonSwap | auth_service.py:42 | KILLED | Caught by test_expired_token |
| MUT-002 | BooleanFlip | auth_service.py:89 | SURVIVED | No test covers is_admin logic |
| MUT-003 | BoundaryUpdate | auth_service.py:112 | KILLED | Caught by test_password_min_length |
| MUT-004 | ArithmeticSwap | auth_service.py:156 | SURVIVED | Token expiry calculation not asserted |
Kill Rate Ledger Update
- Module:
src/services/auth - Previous Rate: 68.5%
- Current Rate: 71.1%
- Status: PASSED (Gate threshold 70%)
Next steps
- Strengthen assertions in
tests/test_auth.pyto cover theis_adminflag logic identified in MUT-002. - Add a specific test case for token expiry duration to address the survivor at line 156.
- Run
centurion gate --killrate 75to lock in this new quality baseline.
Connects securely to your tools. The creator never sees your data.
About this skill
Test suites often provide a false sense of security through high code coverage that fails to catch logical errors. Centurion replaces shallow coverage metrics with a mutation gauntlet and an edge-case horde to ensure your tests actually catch bugs. It targets Python and JavaScript/TypeScript codebases, using a deterministic agent architecture to hunt for boundary failures, race conditions, and weak assertions.
What it does
- Edge-case generation deploys a matrix of 9,600 boundary hunters to test empty inputs, unicode, concurrency, and malformed data.
- Mutation testing runs a gauntlet that swaps AST operators to verify if your existing suite can actually detect logic changes.
- Kill-rate ratcheting enforces a monotonic ledger where module quality scores can only improve, never regress.
- Flaky test quarantine identifies and isolates non-deterministic tests with a generated hypothesis for the fix.
- Fixture foraging generates deterministic test fixtures based on real types, schemas, and traffic patterns.
How it works
- Deploy by running
centurion deploy <repo>to survey the framework and establish a deployment plan. - Horde the target with
centurion horde <module>to generate a parameterized edge-case matrix file. - Mutate the codebase using
centurion mutateto identify survivors where logic was changed but tests still passed. - Gate the build with
centurion gateto enforce a minimum kill-rate threshold before allowing a merge.
Frameworks & tools
Supports Python 3.9+ (pytest) and Node 18+ (Jest, Vitest, Playwright). Works with any CLI-based environment including Claude Code, Cursor, and standard CI/CD shells.
Why this beats prompting it yourself
Writing edge cases manually is tedious and prone to human oversight. This skill automates the creation of exhaustive test matrices and uses AST-level mutation to prove your assertions are actually functional rather than just passing.
Use cases
- Hardening a mission-critical payment module against boundary condition errors.
- Identifying "tautology" tests that pass regardless of whether the code works.
- Enforcing a strict quality floor for new pull requests using the kill-rate gate.
- Debugging intermittent CI failures by isolating flaky tests into a managed quarantine.
Known limitations
The mutation gauntlet will not run if the baseline test suite is currently failing. Core operations are restricted to Python 3.9+ and Node 18+ toolchains.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean today
- Passed all security checks, Safe to install
Requires