This is the list of changes for the PHPUnit 3.5 release series.
- Implemented TRAC-834: Refactor collection, processing, and rendering of code coverage information using the PHP_CodeCoverage component.
- Implemented TRAC-948: Add D-BUS test listener.
- Implemented TRAC-967: Only populate whitelist when code coverage is used.
- Added
assertStringMatchesFormat()
andassertStringNotMatchesFormat()
as well asassertStringMatchesFormatFile()
andassertStringNotMatchesFormatFile()
forEXPECTF
-like (run-tests.php
) format string matching. - Added support for the XML format of mysqldump to the database extension.
- Added the
verbose
attribute to the<phpunit>
element of the XML configuration file. - The
--log-metrics
and--log-pmd
switches have been removed. Their functionality has been or will be merged into PHP_Depend and PHPMD. Details can be found here. - The
--ansi
switch has been removed, please use--colors
instead. - The
--coverage-source
switch has been removed. - The
--coverage-xml
switch has been removed, please use--coverage-clover
instead. - The
--log-graphviz
switch has been removed. - The
--log-xml
switch has been removed, please use--log-junit
instead. - The
--repeat
switch has been removed. - The
--report
switch has been removed, please use--coverage-html
instead. - The
--skeleton
switch has been removed, please use--skeleton-test
instead. - The
TestListener
implementation that logs to PEAR::Log sinks has been removed. - The test database functionality has been removed.
PHPUnit_Extensions_PerformanceTestCase
has been removed.PHPUnit_Extensions_RepeatedTest
has been removed.- Replaced
PHPUnit_Util_FilterIterator
with the PHP_FileIterator component. - Replaced
PHPUnit_Util_Template
with the Text_Template component.