This is the list of changes for the PHPUnit 3.6 release series.
- Added
assertCount()
andassertNotCount()
to assert the number of elements in an array as well asCountable
orIterator
objects. - Added
returnSelf()
to ease the mocking and stubbing of fluent interfaces. - Implemented GH-82: Test Skeleton Generator should create
@covers
annotations. - Implemented GH-83: Test errors and failures as well as incomplete and skipped tests now get coloured letters in the test progress.
- Implemented GH-88:
@expectedException
(andsetExpectedException()
) no longer acceptException
as the expected exception class. assertEquals()
now looks for (and invokes) a__toString()
method when an object and string are compared.@ticket
is now an alias for@group
.- The
PHPUnit_Extensions_Story_TestCase
functionality has been removed. - The syntax check functionality has been removed.