Capture warnings and messages and print all at end #310
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: