Skip to content

@dg dg released this Aug 3, 2020 · 2 commits to master since this release

  • Dumper: keep full data provider name in output files
  • Show @dataProvider data set name in assertion error #293 #377
  • Drop create-phar tool #276
  • readme: added with() (#410)
  • Runner: fixed waiting for last async Job #415
  • CloverXMLGenerator, DomQuery: checks for PHP extensions #401 #419
  • FileMutator: fixes 'touch() expects parameter 2 to be int, null given' #403
  • @dataProvider file may return integer-indexed data #418
  • Dumper: clickable links in PhpStorm terminal with plugin Awesome Console #313
  • Environment: improved color detection, supports https://no-color.org/

For the details you can have a look at the diff.

Assets 2

@dg dg released this Mar 6, 2020 · 15 commits to master since this release

  • Runner: added support for CTRL-C
  • DomQuery: removed warning for invalid tags #354[Closes #416
  • Runner: pcntl_signal() can be disabled
  • Runner: ignores directory /vendor
  • fixes for PHP 7.4

For the details you can have a look at the diff.

Assets 2

@dg dg released this Nov 19, 2019 · 26 commits to master since this release

  • supports PHP 7.4
  • Environment: 'file' can be undefined when is test called via register_shutdown_function() (#411)

For the details you can have a look at the diff.

Assets 3

@milo milo released this Aug 11, 2019 · 33 commits to master since this release

  • watch mode: changed files are detected by filemtime
  • added Assert::notNull()
  • FileMutator fixes
  • test result is printed when run as a standalone script
Assets 3

@milo milo released this Mar 11, 2019 · 42 commits to master since this release

  • --watch mode recovers from errors (e.g. missing file)
  • fixes in FileMutator (during scandir() or recursive mkdir())
  • Assert::noError() throws exception when called with more than one parameter
  • added Expect for complex assertions formulation (#398)
  • Helper::purge() protection to not purge root directory (#392)
  • added method Runner::addPhpIniOption() to be able set PHP INI option from --setup script
  • added PCOV support (#396) (thanks to @trejjam)

For more information see documentation and changelog.

Assets 3

@milo milo released this Oct 10, 2018 · 70 commits to master since this release

Minimal PHP version since this release is 7.1. That's actually the main reason for this release.

  • Internal code improvements

    • used PHP 7.1 features
    • added PHP 7.1 typehints
    • strict types usage
  • Bypass finals respects final as a literal

  • Added notification when empty code coverage report data

  • The --coverage-src option is repeatable (#388)

For more information see documentation and changelog.

Assets 3

@dg dg released this Jun 7, 2018 · 93 commits to master since this release

  • FileMutator: fixes
  • Assert::error() accepts array of E_XXXX without error message
  • DomQuery: added missing error suppression for (#385)

For more information see documentation and changelog.

Assets 3

@milo milo released this Jun 2, 2018 · 218 commits to master since this release

  • fixed PHP 7.2 compatibility

This release is the last in the 1.x series. It is compatible with PHP 5.4 - 7.2.

The following 2.0 series, even marked as compatibility breaking, has very good compatibility, but supports PHP from version 5.6.

For more information see documentation and changelog.

Assets 3

@dg dg released this Feb 7, 2018 · 101 commits to master since this release

  • fixed FileMutator

For more information see documentation and changelog.

Assets 3

@milo milo released this Aug 22, 2017 · 106 commits to master since this release

  • Compatibility
    • required PHP 5.6 and supports PHP up to 7.2
    • dropped support for HHVM
    • default interpreter is CLI, used to be CGI
  • Handle *Test.php as a test files too
  • Added -C option to use system-wide php.ini
  • Added --temp option
  • Last time failing tests run as first
  • Fixed FileMock in append mode
  • Added environmental variable Environment::THREAD
  • Added @phpExtension test file annotation
  • Added %w% and %% modifiers for Assert::match()
  • Assert::match() replaces modifiers by matching values in output
  • Assert::exception() prints stack trace when unexpected exception is thrown
  • TestCase::tearDown() called even after test method error
  • TestCase::run() does not accept arguments, use TestCase::runTest() instead
  • Added CodeCoverage\Collector::flush()
  • Code coverage HTML template facelift
  • (many other small fixes and improvements)

For more information see documentation and changelog.

Assets 3
You can’t perform that action at this time.