-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unexpected suppression of the tracing & Output customization proposal #33
Comments
Better docs would be nice here; I don't think I'd be willing to change the defaults, since I've been annoyed by debug spew from dependencies too many times to go back to seeing it all the time. It might make sense to add a little note next to the tests in the verbose log if there's output though. Like:
Maybe there's a clearer way to note it without it making the actual test results harder to read... As for adding a log-to-file option, that makes sense, but I'm not 100% sure how I'd want to handle it (e.g. one file per invocation of mettle, one file per test run - i.e. running with I'll probably spin this out into two (or three) issues though to make it easier to track. |
Yes, such notification ( As for the original Yes, it spins out into several tasks + docs extension. |
mettle
unexpectedly suppresses original tracing (to bothstdout
andstderr
) in both test cases (body of the_.test)
and included headers, which is not always desirable and purely documented (implicitly mentioned only in the section Running Test,--show-terminal
option).The tracing suppression should be
optionalcustomizable with the possibility to redirect it to the log file(s) instead of just been silently omitted. Original debug build might assume post processing of thestrout
andstderr
streams for the further testing & analysis, which can be retained parameterizing the output of the unit test results and original stdout/err streams to be performed to the specified file / stdout / stderr (besides the current--show-terminal
option).Also it would be nice to outline the default behavior (omission of tracing) in the main page / features description (https://jimporter.github.io/mettle/) mentioning that this behavior can be customized.
The text was updated successfully, but these errors were encountered: