[ANNOUNCEMENT] PHPUnit2-3.0.0alpha2 (alpha) Released.

From: Date: Mon, 23 Jan 2006 07:51:20 +0000
Subject: [ANNOUNCEMENT] PHPUnit2-3.0.0alpha2 (alpha) Released.
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22641@lists.php.net to get a copy of this message
The new PEAR package PHPUnit2-3.0.0alpha2 (alpha) has been released at http://pear.php.net/. Release notes ------------- + Added support for Mock Objects, inspired by jMock, initially developed by Jan Borsodi and contributed by eZ systems AS. + Added PHPUnit2_Framework_SkippedTest interface and PHPUnit2_Framework_SkippedTestError as its default implementation to mark a test as being skipped. + Added PHPUnit2_Framework_Assert::assertFileExists(), PHPUnit2_Framework_Assert::assertFileNotExists(), PHPUnit2_Framework_Assert::assertArrayHasKey(), PHPUnit2_Framework_Assert::assertArrayNotHasKey(), PHPUnit2_Framework_Assert::assertHasProperty(), and PHPUnit2_Framework_Assert::assertHasNotProperty(). + Added PHPUnit2_Framework_Assert::assertThat() which evaluates arbitrary constraints, based upon the new PHPUnit2_Framework_Constraint infrastructure. + Added PHPUnit2_Framework_Assert::markTestIncomplete() and PHPUnit2_Framework_Assert::markTestSkipped() to mark a test as being incomplete or skipped, respectively. + Added PHPUnit2_Framework_Assert::getNonPublicProperty() method to read non-public properties from objects. + Added a TestListener that generates a map of the executed tests in GraphViz markup. + Added a TestListener that generates a logfile of the test execution using the Test Anything Protocol (TAP). * PHPUnit2_Framework_Assert::assertContains() and PHPUnit2_Framework_Assert::assertNotContains() can now work on strings. * PHPUnit2_Framework_ComparisonFailure has been refactored into PHPUnit2_Framework_ComparisonFailure, PHPUnit2_Framework_ComparisonFailure_Array, PHPUnit2_Framework_ComparisonFailure_Object, PHPUnit2_Framework_ComparisonFailure_Scalar, PHPUnit2_Framework_ComparisonFailure_String, and PHPUnit2_Framework_ComparisonFailure_Type to improve discrepancy visualization, initially developed by Jan Borsodi and contributed by eZ systems AS. * Changed PHPUnit2_TextUI_ResultPrinter::printHeader() to sanely format the time elapsed as MM:SS. * PHPUnit2_Runner_IncludePathTestCollector can now utilize an FilterIterator. * PHPUnit2 now uses the Standard PHP Library (SPL)'s specialized exceptions InvalidArgumentException and RuntimeException instead of the generic Exception exception class. * Fixed bug #5053: Problems with global variables. * Fixed bug #5933: PHPUnit2_Framework_TestSuite::addTestFile() and non-working directories. * Implemented RFE #5546: Make filtering and/or filtering on the current file optional. * Implemented RFE #5860: Missing parse errors after lint. * Implemented RFE #5932: Make the PHP syntax check of files optional. - Removed PHPUnit2_Framework_Assert::setLooselyTyped(). - Removed dependency on the Benchmark_Timer, Console_Getopt, and PEAR_Config PEAR classes. ! PHP 5.1.2 (or greater) is now required. ! A new method, addSkippedTest(), has been added to the PHPUnit2_Framework_TestListener interface. 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/3.0.0alpha2 Download: http://pear.php.net/get/PHPUnit2-3.0.0alpha2.tgz Authors ------------- Sebastian Bergmann <sb@sebastian-bergmann.de> (lead)

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