-
Notifications
You must be signed in to change notification settings - Fork 327
Capture warnings and messages and print all at end #310
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
Comments
👍 |
Perhaps related: Would it be possible to print a dot or something for each evaluated top-level expression (in addition to the dot for each successful expectation)? |
@krlmlr: That would create a lot of dots imo. Why not just put the ones that you want output for in an expectation, e.g. |
Agreed. There will be more dots, and it could also hurt test performance. I can print a dot myself with |
I think that both warnings and messages should be handled by the reporter, the default handling for messages would be to muffle them. I'm currently struggling with a case where I'd really like to see the messages that occur within a test. |
I think that's reasonable, although I think the default should be to handle messages in the same way as warnings (i.e. with an M and a summary at the end) |
This is a first stab at it - please let me know if you have suggestions for improvement |
Thanks. This looks very nice, I like it.
|
|
|
|
Display on summary as W.
The text was updated successfully, but these errors were encountered: