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 →
Infection Alternatives
Similar projects and alternatives to Infection
-
-
-
SonarLint
Clean code begins in your IDE with SonarLint. 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.
-
-
-
-
-
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
Spout
Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
-
Packagist
Package Repository Website - try https://packagist.com if you need your own -
-
-
-
PHPStan
PHP Static Analysis Tool - discover bugs in your code without running it!
-
-
-
-
Serializer
Library for (de-)serializing data of any complexity (supports JSON, and XML)
-
composer-unused
Show unused composer dependencies by scanning your code
-
composer-normalize
:musical_note: Provides a composer plugin for normalizing composer.json.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Infection reviews and mentions
-
Am I writing the right kinds of (unit) tests? See below for an example. Thanks!
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
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
That's practically a light form of mutant testing. Have you checked Infection?
-
A note from our sponsor - SonarLint
www.sonarlint.org | 8 Feb 2023
Stats
infection/infection is an open source project licensed under BSD 3-clause "New" or "Revised" License which is an OSI approved license.