Skip to content

Conversation

@giordano
Copy link
Collaborator

image

When I look through the output of tests, I'd like to quickly spot that of failed tests, and I think the colourful hint of the red name helps with this. What do you think?

@giordano giordano force-pushed the mg/output-generated-color branch from 07cd029 to d2dfdca Compare February 13, 2026 02:43
if !isempty(output)
println(io_ctx.stdout, "\nOutput generated during execution of '$testname':")
print(io_ctx.stdout, "\nOutput generated during execution of '")
if result isa Exception || anynonpass(result.value)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this could be limited to result isa Exception? Test failures should already be displayed somewhere else, but it's the output of crashed jobs which is more important to quickly find.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So with

Suggested change
if result isa Exception || anynonpass(result.value)
if result isa Exception

we'd have

Image

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