Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
If you want to enforce testing automatically probably the best option is to rely on mutation testing, using Infection. That doesn't just check that the tests cover the code, it checks that if the code was different to what it is then the tests would (usually) fail.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Who tests the tests? Mutation testing with Infection in PHP
- Collecting line, branch, and path coverage with PHPUnit
- I'm looking for "complex" or "advanced" topics that don't get enough coverage
- Codewars Kata. It uses 100 random tests for a boolean.
- Verify your true code coverage by removing lines of PHP code, see if it affects PHPUnit results