Tester Versions Save

Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏

v2.5.2

3 months ago
  • Implemented console-lines mode which prints each test on separate line. (#443)
  • DomQuery: searches starting from current node
  • Environment::setupFunctions() creates global functions testException()

v2.5.1

9 months ago
  • support for PHP 8.3
  • fixed accessed property before initialization (#441) (#442)
  • used get_debug_type()

v2.5.0-RC1

1 year ago
  • requires PHP 8.0
  • added PHP 8 typehints
  • Capture stderr of test via temp file and output it in test results [Closes #420] (#438)
  • Environment::setupFunctions() creates global functions test(), setUp() & tearDown()
  • TestCase: lists the running methods
  • Assert::equal() added flags $matchOrder & $matchIdentity
  • constants are PascalCase
  • Dumper & Assert: dumps true/false/null in lowercase

v2.5.0

1 year ago
  • requires PHP 8.0
  • added PHP 8 typehints
  • Capture stderr of test via temp file and output it in test results [Closes #420] (#438)
  • Environment::setupFunctions() creates global functions test(), setUp() & tearDown()
  • TestCase: lists the running methods
  • Assert::equal() added flags $matchOrder & $matchIdentity
  • constants are PascalCase
  • Dumper & Assert: dumps true/false/null in lowercase

v2.4.3

1 year ago
  • PHP 8.2 Support
  • CloverXMLGenerator: reports file name is case of parse error
  • Assert::exception() prints stack of unexpected exception

v2.4.2

2 years ago
  • interrupt signal is converted to InterruptException and handled by CliTester
  • Dumper::dumpException() added option to change output file name via AssertException::$outputName
  • Environment: improved color detection
  • Dumper: improved encoding of strings, added colors
  • improved coding style

v2.4.1

2 years ago
  • support for PHP 8.1
  • TestCase:prepareTestData(): check that every data provider item is array #431
  • added Assert::$expandPatterns to disable patterns expansion
  • TestHandler: mark tests with empty data provider as failed/skipped
  • template.phtml: uses native directory separator

v2.4.0

3 years ago
  • requires PHP 7.2
  • TestCase: added method skip() for skipping tests [Closes #379]
  • DataProvider::load() may return empty data set (BC break)
  • TestHandler: initiateTestCase() caching (#378)
  • TestCase: list all possible TestCase class dependencies (#378)
  • TestCase: list methods in format 'Method:testName' (#378)
  • CliTester: option --log replaced by -o log (#329)
  • CliTester: option -o is repeatable and accepts file name parameter (#329)
  • CommandLine: added NORMALIZER (#329)
  • Test: measure run time duration (#426)
  • Asssert: add hasKey and hasNotKey assertions (#427)
  • code coverage: improved coverage report template (#422)

v2.3.5

3 years ago
  • Environment::loadData(): --dataprovider arg is exact key, not query (BC break) [Closes #428]
  • CliTester: added missing newline (#429)
  • PhpInterpreter: enables register_argc_argv for info.php
  • Assert::contains() & notContains() check needle type
  • fix Assert::type() failure error when expected $type is object (#425)
  • CodeCoverage: support Xdebug 3 (#424)

v2.3.4

3 years ago
  • 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.