Skip to content

add and respect the --no-final-table display option#297

Merged
exodist merged 1 commit intoTest-More:masterfrom
rjbs:test-summary-without-table
Feb 20, 2026
Merged

add and respect the --no-final-table display option#297
exodist merged 1 commit intoTest-More:masterfrom
rjbs:test-summary-without-table

Conversation

@rjbs
Copy link
Contributor

@rjbs rjbs commented Feb 20, 2026

At the end of "yath test", you get a summary of the test run in an ASCII art box, which is maybe fine, but it will break up filenames if they're long, like:

+-------------------------------+
| filename                      |
+-------------------------------+
| t/some-system/important-test- |
| of-your-code.t                |
+-------------------------------+

...and then you can't copy the filename from the terminal. This can be a pain, and the pretty-printing here isn't necessarily getting us much. This commit adds --no-final-table, which affects "yath test", causing it to instead print the final output more like this:

Failed tests:
- t/some-system/important-test-of-your-code.t

It still includes job id and subtest information.

At the end of "yath test", you get a summary of the test run in an ASCII
art box, which is maybe fine, but it will break up filenames if they're
long, like:

    +-------------------------------+
    | filename                      |
    +-------------------------------+
    | t/some-system/important-test- |
    | of-your-code.t                |
    +-------------------------------+

...and then you can't copy the filename from the terminal.  This can be
a pain, and the pretty-printing here isn't necessarily getting us much.
This commit adds --no-final-table, which affects "yath test", causing it
to instead print the final output more like this:

    Failed tests:
    - t/some-system/important-test-of-your-code.t

It still includes job id and subtest information.

Co-Authored-By: Claude <noreply@anthropic.com>
@exodist exodist merged commit c2804c3 into Test-More:master Feb 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants