PHPUnit 3.3.0 RC1

Sebastian Bergmann » 02 September 2008 » in Announcements » 0 Comments

I have rolled a release candidate of PHPUnit 3.3. 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.

The ChangeLog for the PHPUnit 3.3 Release Series has the full list of changes.

Please help by testing PHPUnit 3.3 RC 1. Thank you!

Defined tags for this entry: ,

Trackback specific URI for this entry

0 Comments to "PHPUnit 3.3.0 RC1"

Display comments as (Linear | Threaded)
  1. No comments

0 Trackbacks to "PHPUnit 3.3.0 RC1"

  1. No Trackbacks

Add Comment


To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Submitted comments will be subject to moderation before being displayed.