Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display name of concrete test method in console-lines output #448

Closed
Marian-Kechlibar opened this issue May 17, 2024 · 1 comment · Fixed by #451
Closed

Display name of concrete test method in console-lines output #448

Marian-Kechlibar opened this issue May 17, 2024 · 1 comment · Fixed by #451

Comments

@Marian-Kechlibar
Copy link

Marian-Kechlibar commented May 17, 2024

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

smuuf added a commit to smuuf/php-nette-tester that referenced this issue Jun 12, 2024
@smuuf
Copy link
Contributor

smuuf commented Jun 12, 2024

This is something I've also been wanting to add, so I finally did it. Thanks for the nudge 🐣

smuuf added a commit to smuuf/php-nette-tester that referenced this issue Jun 12, 2024
@dg dg closed this as completed in #451 Jun 18, 2024
@dg dg closed this as completed in bdb376f Jun 18, 2024
dg pushed a commit that referenced this issue Jun 18, 2024
dg pushed a commit that referenced this issue Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants