Infection is a PHP mutation testing framework used to evaluate the quality and effectiveness of test suites. It works by introducing small changes (mutations) into the codebase and checking whether the existing tests catch them. If a mutation passes undetected, it suggests that the tests may be insufficient. Infection integrates with PHPUnit and helps developers strengthen their test coverage and logic.

Features

  • Performs mutation testing to measure test quality
  • Integrates with PHPUnit for seamless execution
  • Generates mutation score reports and coverage metrics
  • Supports custom mutators and configurable mutation profiles
  • Compatible with popular CI tools and pipelines
  • Detects weak or missing test cases

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

BSD License

Follow Infection

Infection Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Infection!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Frameworks

Registered

2025-05-21