[ANNOUNCEMENT] PHPUnit2-2.2.0beta3 (beta) Released.
| From: | PEAR Announce | Date: | Wed, 29 Dec 2004 14:47:00 +0000 |
| Subject: | [ANNOUNCEMENT] PHPUnit2-2.2.0beta3 (beta) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-16501@lists.php.net to get a copy of this message | ||
The new PEAR package PHPUnit2-2.2.0beta3 (beta) has been released at http://pear.php.net/.
Release notes
-------------
+ Added PHPUnit2_Framework_Assert::assertNotType() to complement
PHPUnit2_Framework_Assert::assertType().
+ Added startTestSuite() and endTestSuite() methods to the PHPUnit2_Framework_TestListener
interface.
+ Added PHPUnit2_Extensions_ExceptionTestCase::getExpectedException() and
PHPUnit2_Extensions_ExceptionTestCase::setExpectedException().
+ Added parameter to set the TestSuiteLoader implementation to be used to the TextUI testrunner.
+ Added a Templating API to the test class skeleton generator to customize the generated source.
* PHP errors (that can be handled by a custom error handler) are now counted as errors.
* PHPUnit2_Framework_Assert::assertContains() and PHPUnit2_Framework_Assert::assertNotContains() now
accept an object that offers the Iterator interface for the $haystack parameter.
* Changed the format of the XML logfile generated by the PHPUnit2_Extensions_Log_XML implementation
of the PHPUnit2_Framework_TestListener interface to match the format of Phing's PHPUnit2 (ie.
Apache Ant's JUnit) task.
* PHPUnit2_Extensions_CodeCoverage_Renderer_HTML and PHPUnit2_Extensions_CodeCoverage_Renderer_Text
now render summarized representations of the Code Coverage information.
* PHPUnit2_Framework_Assert::assertSame(), PHPUnit2_Framework_Assert::assertNotSame(),
PHPUnit2_Framework_Assert::assertNotNull(), and PHPUnit2_Framework_Assert::assertNull() are now
stricter and only work on objects. This was always the documented behaviour.
* PHPUnit2_Framework_Assert::assertTrue() and PHPUnit2_Framework_Assert::assertFalse() are now
stricter and only work on booleans. This was always the documented behaviour.
Package Info
-------------
PHPUnit is a regression testing framework used by the developer who implements unit tests in PHP.
This is the version to be used with PHP 5.
Related Links
-------------
Package home: http://pear.php.net/package/PHPUnit2
Changelog: http://pear.php.net/package/PHPUnit2/download/2.2.0beta3
Download: http://pear.php.net/get/PHPUnit2-2.2.0beta3.tgz
Authors
-------------
Sebastian Bergmann <sb@sebastian-bergmann.de> (lead)