-
Notifications
You must be signed in to change notification settings - Fork 47
Improve acceptance tests logging #3098
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
Conversation
Make the logs generated by the acceptance tests more readable, by just logging the failed scenarios, and by adding a summary of the failed tests at the end of the suite, to make the failures easily identifiable. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Review Summary by QodoImprove acceptance tests logging and output readability
WalkthroughsDescription• Add scenario failure tracking with summary output at test end • Suppress verbose container operation logs to reduce noise • Log scenario start/end status directly to TTY for real-time visibility • Exit with code 1 on test failure without verbose Go test output Diagramflowchart LR
A["Test Execution"] -->|Track Failures| B["scenarioTracker"]
A -->|Log to TTY| C["Real-time Status"]
A -->|Filter Messages| D["shouldSuppress"]
B -->|Print Summary| E["Failed Scenarios Report"]
D -->|Reduce Noise| F["Cleaner Logs"]
E --> G["Test Output"]
C --> G
F --> G
File Changes1. acceptance/acceptance_test.go
|
Code Review by Qodo
1. scenarioErr printed to stderr
|
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Make the logs generated by the acceptance tests more readable, by just logging the failed scenarios, and by adding a summary of the failed tests at the end of the suite, to make the failures easily identifiable.