Skip to content

Releases: nette/tester

Released version 2.3.4

02 Nov 17:35
@dg dg
Compare
Choose a tag to compare
  • compatible with PHP 8.0
  • Dumper: keep full data provider name in output files
  • Show @dataProvider data set name in assertion error #293 #377
  • 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
  • Drop create-phar tool #276

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

Released version 2.3.3

03 Aug 18:43
@dg dg
Compare
Choose a tag to compare
  • 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.

Released version 2.3.2

06 Mar 15:57
@dg dg
Compare
Choose a tag to compare
  • 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.

Released version 2.3.1

19 Nov 14:34
@dg dg
Compare
Choose a tag to compare
  • 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.

Released version 2.3.0

11 Aug 17:10
Compare
Choose a tag to compare
  • watch mode: changed files are detected by filemtime
  • added Assert::notNull()
  • FileMutator fixes
  • test result is printed when run as a standalone script

Released version 2.2.0

11 Mar 09:09
Compare
Choose a tag to compare
  • --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.

Released version 2.1.0

10 Oct 13:22
Compare
Choose a tag to compare

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.

Released version 2.0.2

07 Jun 11:32
@dg dg
Compare
Choose a tag to compare
  • 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.

Released version 1.7.2 (the last 1.x)

02 Jun 19:50
Compare
Choose a tag to compare
  • 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.

Released version 2.0.1

07 Feb 12:57
@dg dg
Compare
Choose a tag to compare
  • fixed FileMutator

For more information see documentation and changelog.