Skip to content

v0.1.0

Choose a tag to compare

@markng markng released this 18 Feb 22:17
· 42 commits to main since this release

Initial release of pytest-leela mutation testing plugin.

Features

  • --leela pytest 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
  • --target flag for targeting specific files/directories
  • --diff flag for testing only changed lines
  • Exit code 1 when mutants survive (CI-friendly)
  • Self-mutation verified: 100% kill rate on fixture targets