Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 2.63 KB

ChangeLog-7.3.md

File metadata and controls

37 lines (26 loc) · 2.63 KB

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.1 - 2018-MM-DD

Fixed

  • Fixed #3237: Result caching enabled by default

7.3.0 - 2018-08-03

Added

  • Implemented #3147: Support for running tests first that failed in a previous run
    • Implemented cacheResult configuration directive and --cache-result CLI option to control test result cache required for "run defects first" functionality (disabled by default)
    • Implemented cacheResultFile configuration directive and --cache-result-file CLI option to configure test result cache file (default: .phpunit.result.cache)
    • Implemented stopOnDefect configuration directive and --stop-on-defect CLI option for aborting test suite execution upon first defective test
    • Implemented executionOrder configuration directive and --order-by CLI option for sorting the test suite before execution
    • The --order-by=random CLI option should now be used instead of --random-order
    • The --order-by=depends CLI option should now be used instead of --resolve-dependencies
    • The --order-by=reverse CLI option should now be used instead of --reverse-order
  • 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 @testdox text with data provider values
  • Implemented #3198: Provide source location for useless tests

Fixed

  • Fixed #3154: Global constants as default parameter values are not handled correctly in namespace
  • Fixed #3218: prefix attribute for directory node missing from phpunit.xml XSD
  • Fixed #3222: Priority of @covers and @coversNothing is wrong
  • Fixed #3225: coverage-php missing from phpunit.xsd