Repository navigation
v0.1.0
Initial release of pytest-leela mutation testing plugin.
Features
--leelapytest flag triggers mutation testing after test session- AST-based mutation with type-aware pruning
- Coverage-guided test selection (only runs tests that cover mutated lines)
- Django framework cache clearing for accurate mutation testing
--targetflag for targeting specific files/directories--diffflag for testing only changed lines- Exit code 1 when mutants survive (CI-friendly)
- Self-mutation verified: 100% kill rate on fixture targets