-
Notifications
You must be signed in to change notification settings - Fork 28
testing: show extra information on failure #363
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
base: main
Are you sure you want to change the base?
testing: show extra information on failure #363
Conversation
Old:
New:
|
The new format might look a bit verbose, but I've repeatedly run up against:
|
f81b4ac
to
7bde6c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances the test failure reporting by displaying additional information when tests do not pass as expected. The changes include improved formatting with consistent markers, detailed messages for differences in stdout, stderr, and exit code, and a consolidated failure summary report.
" | ||
stderr, for diagnosing failure{} | ||
{MARKER} | ||
{stderr_cow} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code computes a truncated version of stderr as 'stderr_truncated' but later prints the full 'stderr_cow' instead. Consider printing 'stderr_truncated' in the failure message when its length differs from 'stderr_cow'.
{stderr_cow} | |
{} |
Copilot uses AI. Check for mistakes.
No description provided.