PHP Mutation Testing library (by infection)

Infection Alternatives

Similar projects and alternatives to Infection

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Infection alternative or higher similarity.

Infection reviews and mentions

Posts with mentions or reviews of Infection. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-23.
  • Am I writing the right kinds of (unit) tests? See below for an example. Thanks!
    7 projects | | 23 Nov 2022
    For your last edit - you can also add infection which will infect your code with other values, like if you expect a positive number, it will try and inject a negative number - and see what happens - does your code break everything or something. Also it will try to inject false where you might expect a true and many many other things, and yes you will get some weird results from infection, but its a good thing to look at, and atleast check the logs and see why the infection failed at a test.
  • PHP libraries and tools
    36 projects | | 22 Sep 2021
    Infection: PHP Mutation Testing library. Plugins: roave/infection-static-analysis-plugin: Static analysis on top of mutation testing - prevents escaped mutants from being invalid according to static analysis bitexpert/captainhook-infection: Captain Hook Plugin to run InfectionPHP only against the changed files of a commit
  • Verify your true code coverage by removing lines of PHP code, see if it affects PHPUnit results
    2 projects | | 30 May 2021
    That's practically a light form of mutant testing. Have you checked Infection?
  • A note from our sponsor - SonarLint | 8 Feb 2023
    Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today. Learn more →


Basic Infection repo stats
12 days ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives