Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 963 Bytes

ChangeLog.markdown

File metadata and controls

17 lines (14 loc) · 963 Bytes

PHPUnit 3.6

This is the list of changes for the PHPUnit 3.6 release series.

PHPUnit 3.6.0

  • Added assertCount() and assertNotCount() to assert the number of elements in an array as well as Countable or Iterator 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 (and setExpectedException()) no longer accept Exception 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.