.
This release is a major improvement to the popular open source testing solution for PHP applications. It includes new features and bug fixes. Highlights of this release include:
Improvements and Fixes for PHPUnit_Framework_Assert
assertStringEqualsFile(), assertStringNotEqualsFile(), assertXmlStringEqualsXmlFile(), assertXmlStringNotEqualsXmlFile(), assertXmlFileTag(), assertXmlFileNotTag(), assertXmlStringTag(), assertXmlStringNotTag(), assertXmlFileSelect(), and assertXmlStringSelect(), assertEquals(), assertNotEquals(), assertFileEquals(), and assertFileNotEquals(), and assertEqualXMLStructure() are new assertion methods that help making test code more concise and expressive.
Improvements and Fixes for PHPUnit_Framework_TestCase
This includes improvements and fixes for the Mock Objects System, Data Providers, and a rewrite of the code that is responsible for the
backup of the $GLOBALS array.
Improvements and Fixes for PHPUnit_Extensions_Database_TestCase
PHPUnit_Extensions_Database_TestCase now works with MySQL 4 (it only worked with MySQL 5.0+ before) and the new CsvDataSet, CompositeDataSet, and ReplacementDataSet classes as well as the FlatXmlWriter class make working with data sets even more convenient.
Improvements and Fixes for PHPUnit_Extensions_SeleniumTestCase
The PHPUnit_Extensions_SeleniumTestCase has been refactored and the Selenium RC client/server protocol is now implemented in a separate class, PHPUnit_Extensions_SeleniumTestCase_Driver. In the future, it will be possible to use multiple driver objects in a single test. The support for code coverage in Selenium tests has been improved and is finally robust.
Partager