Channels

Services

PHPUnit 3.7 and related tools arrive

Developer Sebastian Bergmann has released new versions of his PHPUnit utility and related tools. The open source unit testing framework for PHP has been updated to version 3.7.0, while the PHP_CodeCoverage, PHPUnit_MockObject and DbUnit components were made available as version 1.2.0.

The new version of PHPUnit includes redesigned reports for code coverage, and incomplete or skipped tests will now show messages and stack traces in JSON format. Several bugs have also been fixed. The 3.7 release requires PHP 5.3.3 or 5.4.7 or later; a detailed list of all improvements is available in the change log. Versions 1.2.0 of the other components have also received numerous enhancements and bug fixes, details of which are available in the individual change logs for the projects: PHP_CodeCoverage, PHPUnit_MockObject, DbUnit.

PHPUnit and its related components are licensed under a three-clause BSD licence and the source code is available from Bergmann's GitHub page.