8000 GitHub - kondrat-shmoylov/phpunit: The PHP Unit Testing framework.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kondrat-shmoylov/phpunit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPUnit 3.5

This is the list of changes for the PHPUnit 3.5 release series.

PHPUnit 3.5.0

  • 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.
  • Implemented TRAC-985: Sort arrays before diff.
  • Added support for mocking/stubbing of static methods. This requires PHP 5.3 and late static binding.
  • Added assertStringMatchesFormat() and assertStringNotMatchesFormat() as well as assertStringMatchesFormatFile() and assertStringNotMatchesFormatFile() for EXPECTF-like (run-tests.php) format string matching.
  • Added assertEmpty() and assertNotEmpty().
  • Added the @expectedExceptionCode and @expectedExceptionMessage annotations.
  • Added support for the XML format of mysqldump to the database extension.
  • Added the <includePath> element to the <php> section of the XML configuration file.
  • Added the verbose attribute to the <phpunit> element of the XML configuration file.
  • Added a ticket listener that interacts with the GitHub issue API.
  • Added a ticket listener that interacts with the GoogleCode issue API.
  • The @author annotation is now an alias for @group allowing to filter tests based on their authors.
  • 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.
  • The shared fixture functionality has been removed.
  • PHPUnit_Extensions_PerformanceTestCase has been removed.
  • PHPUnit_Extensions_RepeatedTest has been removed.
  • PHPUnit_Extensions_TicketListener_Trac has been removed.
  • Replaced PHPUnit_Util_FilterIterator with the PHP_FileIterator component.
  • Replaced PHPUnit_Util_Template with the Text_Template component.
  • PHPUnit now requires PHP 5.2.7 (or later) but PHP 5.3.2 (or later) is highly recommended.

About

The PHP Unit Testing framework.

Resources

Stars

Watchers

Forks

Packages

No packages published
0