This is the list of changes for the PHPUnit 3.8 release series.
- Implemented #859: Added PHP label validation to attribute assertions.
- Implemented #838: Added a base test listener.
- Implemented #835: Printers that extend
PHPUnit_TextUI_ResultPrintershould have similar construction - Implemented #834: Added the
@requires OSannotation. - Implemented #773: Recursive and repeated arrays are more gracefully when comparison differences are exported.
- Implemented #758: Show a proper stack trace when @expectedException fails due to a unexcepted exception being thrown.
- Implemented #746: Allow identity checking for non-object types in all asserts that depend on
TraversableContains. - Implemented #711:
coverage-textnow has an XMLshowOnlySummaryoption. - Implemented #719: The
--stderrflag now respects--colorsand--debug. - Implemented #382: Added the
$optionsparameter toPHPUnit_Framework_TestCase::getMockFromWsdl()for configuring theSoapClient. - A test will now fail in strict mode when it uses the
@coversannotation and code that is not expected to be covered is executed. - Fixed #240: XML strings are escaped by removing invalid characters.
- Fixed #261:
setUp()andsetUpBeforeClass()are run before filters are applied. - Fixed #541: Excluded groups are counted towards total number of tests being executed.
- Fixed #789: PHP INI settings would not be passed to child processes.
- Fixed #806: Array references are now properly displayed in error output.
- Fixed #808: Resources are now reported as
resource(13) of type (stream)instead ofNULL. - Fixed:
phpttest cases now use the correct php binary when executed through wrapper scripts. - PHPUnit 3.8 is only supported on PHP 5.4.7 (or later).