How to Use a PHP Coverage Report to Check The Quality Level of Your PHPUnit Test Code

09/05/2024
How to Use a PHP Coverage Report to Check The Quality Level of Your PHPUnit Test Code

Listen "How to Use a PHP Coverage Report to Check The Quality Level of Your PHPUnit Test Code"

Episode Synopsis


How to Use a PHP Coverage Report to Check The Quality Level of Your PHPUnit Test Code
By Manuel Lemos
PHPUnit is a popular PHP framework to help developers elaborate test code to verify whether the code works as expected.

PHPUnit produces a Clover report in XML format that provides several details about the level of coverage of a current set of tests that use PHPUnit to test a PHP project.

Check this PHP package that uses the PHPUnit Clover report to calculate a coverage score and you can check how well your PHPUnit test code is testing your PHP projects.

More episodes of the podcast Latest PHP Classes blog posts