4.0 KiB
4.0 KiB
Changes in PHPUnit 7.3
All notable changes of the PHPUnit 7.3 release series are documented in this file using the Keep a CHANGELOG principles.
7.3.3 - 2018-09-01
Fixed
- Fixed #3265: Slashes are unnecessarily escaped in prettified JSON
- Fixed #3267:
%not escaped correctly forStringMatchesFormatconstraint
7.3.2 - 2018-08-22
Fixed
- Fixed #3219:
getMockFromWsdl()generates invalid PHP code when WSDL filename contains special characters - Fixed #3248 and #3233:
phpunit.xsddictates element order where it should not - Fixed #3251: TeamCity result logger is missing test duration information
7.3.1 - 2018-08-07
Changed
- Reverted #3161 (because of #3240): Support for indexed arrays in
PHPUnit\Framework\Constraint\ArraySubset
Fixed
- Fixed #3237: Result caching enabled by default
- Fixed #3240:
assertArraySubset()does not work as expected
7.3.0 - 2018-08-03
Added
- Implemented #3147: Support for running tests first that failed in a previous run
- Implemented
cacheResultconfiguration directive and--cache-resultCLI option to control test result cache required for "run defects first" functionality (disabled by default) - Implemented
cacheResultFileconfiguration directive and--cache-result-fileCLI option to configure test result cache file (default:.phpunit.result.cache) - Implemented
stopOnDefectconfiguration directive and--stop-on-defectCLI option for aborting test suite execution upon first defective test - Implemented
executionOrderconfiguration directive and--order-byCLI option for sorting the test suite before execution - The
--order-by=randomCLI option should now be used instead of--random-order - The
--order-by=dependsCLI option should now be used instead of--resolve-dependencies - The
--order-by=reverseCLI option should now be used instead of--reverse-order
- Implemented
- Implemented #3161: Support for indexed arrays in
PHPUnit\Framework\Constraint\ArraySubset - Implemented #3194:
@covers class(and@uses class) should include traits used by class - Implemented #3196: Support for replacing placeholders in
@testdoxtext with data provider values - Implemented #3198: Provide source location for useless tests