tester icon indicating copy to clipboard operation
tester copied to clipboard

Display name of concrete test method in console-lines output

Open Marian-Kechlibar opened this issue 1 year ago โ€ข 0 comments

Nette Tester currently supports a new output format console-lines, which looks very nice and, IMHO, is the most informative of them all. An optimal combination of colors and information, as far as my human eyes go.

What I nevertheless miss is the names of individual methods that are running. The "log" output format has them, but is completely grey and thus less informative for a human to look at. The "console-lines" format doesn't have them.

As a result, the output is less informative:

ยท 1/12 Admin\CertificateTest.php FAIL in 0.00 s ยท 2/12 Admin\CertificateTest.php FAIL in 0.00 s ยท 3/12 User\CertificateTest.php FAIL in 0.00 s ยท 4/12 Admin\CertificateTest.php OK in 1.33 s ยท 5/12 Admin\CertificateTest.php OK in 0.71 s ยท 6/12 Admin\CertificateTest.php OK in 0.70 s ยท 7/12 Admin\CertificateTest.php OK in 0.34 s ยท 8/12 Admin\CertificateTest.php OK in 0.34 s ยท 9/12 Admin\CertificateTest.php OK in 0.39 s

I propose a wider format like this

ยท 1/12 Admin\CertificateTest.php (testCertificateList) FAIL in 0.00 s

Marian-Kechlibar avatar May 17 '24 07:05 Marian-Kechlibar