PHPUnit 3.2.9 à 3.2.16
News écrite par Philippe Gamache
Depuis nos dernières annonces, Sebastian Bergmann nous annonce la sortie de PHPUnit 3.2.9 à 3.2.16.
En raison de la longueur, je ne traduirais pas chacun des problèmes réglés :
PHPUnit 3.2.9
* The error handler now also converts E_WARNINGs to exceptions.
* Tweaked the colors in the CSS for the code coverage report.
* Implemented : Ability to get non-hit whitelisted files.
* Implemented : Added node_is_leaf flag to the test table of the test database schema.
* Implemented : Configure SeleniumTestCase::$browsers through XML configuration file.
* Implemented : Exception tests can now test for exception codes (Exception::getCode()).
* Implemented : Add namespace separator :: as valid test organization split character.
* Implemented : Better error message when the expected invocation count is not met.
* Implemented : Convert remote paths to local paths for Code Coverage information from Selenium tests.
* Implemented : PHPDocumentor tags for SeleniumTestCase::__call().
* Fixed : $GLOBALS backup breaks the $GLOBALS reference.
* Fixed : Syntax checking does not work on Windows.
* Fixed : Empty message in PHPUnit_Framework_AssertionFailedError exception.
* Fixed : PHPUnit_Extensions_Database_DB_MetaData_MySQL missing.
* Fixed : Unknown returntype in PHPUnit_Extensions_Database_DB_IDatabaseConnection::getConfig().
* Fixed : Syntax errors not detected.
* Fixed : SeleniumTestCase::getSpeed() does not return its result.
* Fixed #349: PHPUnit_Framework_TestFailure::exceptionToString() does not handle PHPUnit_Framework_IncompleteTestError correctly.
PHPUnit 3.2.10
* Fixed : PHPUnit_Extensions_SeleniumTestCase::matchLocalAndRemotePaths() for the case when local and remote path are identical.
PHPUnit 3.2.12
* The XML logfile for Code Coverage information now contains namespace and package information.
* Implemented : Add flag for "run completed" to Test Database's run table.
* Implemented : Create a DbUnit metadata driver for PostgreSQL.
* Implemented : Avoid warnings caused by @include usage.
* Fixed : Error on delete records that have foreign keys.
* Fixed : --log-xml causes a fatal error with empty test cases.
* Fixed : Mock Object generation fails for methods of internal classes with optional arguments.
* Fixed : never() gives wrong error message.
* Fixed : Allow for real TRUNCATE calls in databases that support them.
* Fixed : diff binary not found on Windows.
* PHPUnit_Util_Class::getPackageInformation() is now namespace-aware.
PHPUnit 3.2.13
* Implemented : Directories and files not visually distinguishable in code coverage report.
* Fixed : Incorrect error message in XmlDataSet.php.
* Fixed : PgSQL.php missing in PEAR package.
PHPUnit 3.2.14
* Added assertFileEquals() and assertFileNotEquals().
* Implemented the missing *AndWait commands of the SeleniumTestCase extension.
* The error-to-exception conversion is now optional.
* Implemented : Add --stop-on-failure to XML configuration file.
* Fixed : assertEquals() does not print out custom message.
* Fixed : $php_errormsg not set.
* Fixed : Ignoring code blocks does not work.
* The *AndWait commands of the SeleniumTestCase extension use sleep() instead of waitForPageToLoad() now.
PHPUnit 3.2.15
* Fixed : *AndWait commands behave odd in SeleniumTestCase.
PHPUnit 3.2.16
* Fixed : Missing availability check for tokenizer extension.
* Fixed : @expectedException does not work on Windows.
* Fixed : Class PHPUnit_Util_Log_GraphViz not found.
* Fixed : Using @group with multiple browsers does not work in SeleniumTestCase.
* Fixed : PMD priorities do not work.
* Fixed : Call to undefined method DOMDocument::documentElement().
* Fixed : TAP format displays counters in a strange way.
Source : http://www.phportail.net