[ANNOUNCEMENT] PHPUnit2-2.2.0 (stable) Released.

From: Date: Sat, 12 Mar 2005 11:38:03 +0000
Subject: [ANNOUNCEMENT] PHPUnit2-2.2.0 (stable) Released.
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17992@lists.php.net to get a copy of this message
The new PEAR package PHPUnit2-2.2.0 (stable) 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 an optional command-line parameter to the PHPUnit Command-Line Frontend to specify the sourcefile the test that is to be run can be found in. + Added an optional parameter $suiteClassFile to the PHPUnit2_Runner_TestSuiteLoader::load() method to customize the mapping from the name of a class to its sourcefile. + 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 (E_ERROR and E_USER_ERROR events) 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() and PHPUnit2_Framework_Assert::assertNotSame() 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.0 Download: http://pear.php.net/get/PHPUnit2-2.2.0.tgz Authors ------------- Sebastian Bergmann <sb@sebastian-bergmann.de> (lead)

« previous php.pear.general (#17992) next »