Releases: nette/tester
Releases · nette/tester
Released version v2.5.4
Released version 2.5.3
Released version 2.5.2
- Implemented
console-lines
mode which prints each test on separate line. (#443) - DomQuery: searches starting from current node
Environment::setupFunctions()
creates global functionstestException()
Released version 2.5.1
Released version 2.5.0
- 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
Released version 2.4.3
- PHP 8.2 Support
- CloverXMLGenerator: reports file name is case of parse error
Assert::exception()
prints stack of unexpected exception
Released version 2.4.2
- 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
Released version 2.4.1
- 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
Released version 2.4.0
- 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)
Released version 2.3.5
- 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)