Author Commit message Committed SHA  
 
by dg tested on PHP 8.4
by dg Released version 2.5.3
by smuuf Add testcase method's name to the test's title. (#451)

Resolves https://github.com/nette/tester/issues/448.

by dg TestCase: removed NULL byte from class names, thx @smuuf [Closes #450][Closes #449]

get_debug_type() does not output a null byte for anonymous classes

by dg readme: added jumbo
by dg added DomQuery::matches()
by dg improved phpDoc
by dg github actions updated
by milo code coverage: fix compatibility with PHP 8.3 [Closes #446]

PHP 8.3 introduced new HTML output of highlight_string(). The main change is that output is wrapped by <pre>, so new lines are preserved (not converted to <br />) and spaces remains spaces (not converted to &nbsp;)

by dg test(): checks count of arguments
by dg Released version 2.5.2
by smuuf Implemented `console-lines` mode which prints each test on separate line. (#443)

This is handy for environments with non-standard (buffered) handling of
standard output, for example Github Actions (where a progress of tests
cannot be seen until until end-of-line appears, which in standard `console`
mode happens only when all tests finish) or Docker Compose logging output,
where in standard `console` mode each finished test's dot is printed
alone on separate line.

Or the console-lines mode can be handy just to see a more detailed
progress of tests in all environments, because it outputs something
like this:

```
· 1/85 Framework/Assert.contains.phpt OK in 0.14 s
· 2/85 CodeCoverage/PhpParser.parse.edge.phpt OK in 0.17 s
· 3/85 CodeCoverage/PhpParser.parse.lines-of-code.phpt SKIPPED in 0.18 s
· 4/85 CodeCoverage/PhpParser.parse.lines.phpt FAILED in 0.19 s
...
```

Also, "cider mode" now shows a lemon emoji for skipped tests.

Co-authored-by: David Grudl <david@grudl.com>

by dg DomQuery: searches starting from current node
by dg Environment::setupFunctions() creates global functions testException()
by dg phpstan: raw format
by dg coding style
by dg uses PhpToken
by dg Released version 2.5.1
by dg support for PHP 8.3
by grogy fixed accessed property before initialization (#441) (#442)
by dg used get_debug_type()
by dg Released version 2.5.0
by dg Assert::equal() added flags $matchOrder & $matchIdentity
by dg TestCase: lists the running methods
by dg Environment::setupFunctions() creates global functions test(), setUp() & tearDown()
by dg added Environment::print(), in CLI outputs to STDOUT to bypass output buffering
by dg tests: test() with description
by dg bootstrap: removed date_default_timezone_set()
by dg Dumper & Assert: dumps true/false/null in lowercase
by dg constants are PascalCase (BC break)
by dg Runner::run() added parameter $async
by MartinMystikJonas Capture stderr of test via temp file and output it in test results [Closes #420] (#438)

Last synchronization: 2024-07-17 15:01:24