-
Notifications
You must be signed in to change notification settings - Fork 37
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
Improve console output #41
Comments
When calculating the ETA we need to keep in mind that the first run will always be slower by a lot. The reason for is the first time compilation the |
In my experience, the most frustrating thing is not the lack of a somewhat accurate ETA (#267), but rather the absence of any progress report. At the current state and default level, I sometimes end up staring at:`
...for about an hour, with no clue whatsoever as to whether something is hanging or there is some error I should know of or where if there is one specific test / mutant that is responsible the majority of the test-time. Just some "$n/$total" would already be quite an improvement, the name of the test classes running, by each runner, would be just bonus... |
(On a related note: the next logLevel up from Info is obviously Debug, but that one is currently almost too "debuggy" - I think I remember that it is due to SBT's |
@cbrunnkvist is there any logging in debug that you think is too debuggy? We can maybe remove some statements if they don't add much |
@hugo-vrijswijk I'm sure we can figure out some pragmatic compromise: like, if we have a flag to leave temporary files / mutation directories around, that flag could also be the one which enables printing "copying XXX into YYY" for example. But when I look at different project's output at Debug level, what seems to make up a lot of the spamminess seems to actually be DEBUG level output from the app being tested, via the test-runners:
When we we |
@cbrunnkvist All testrunner stdout is now sent to debug. Which is very useful for debugging issues with testrunners, but I agree it can be a bit spammy. I'd be all for some more specific debug log configuration. There could be scope settings for testrunner output, file writing, and maybe other things where debug information might be useful, but is usually too much when you want debug logs to find a more common error. |
Test-runner stdout is now by default no longer in debug and configurable. Colored output is in #1070. For any other improvements, new issues can be made |
The console output could be clearer. I think we should try to improve it:
ℹ Configurable log levels (right now debug is always on)Fixed Allow overriding the log level from the config file #49👓 Improve readability with a nicer logging template with aFixed with Add a more compact logback.xml than the default one #54logback.xml
. Maybe something similar to Stryker. Personally, I think the long package names are quite ugly and don't add much (who has duplicate class names in different packages anyway?).🌈 Colorize some output! (like mutations, log levels, files, etc). Fansi seems like a good candidate. Ideally, we'd also only output color codes if stdout supports it (so not when outputting to a file, just text terminal etc)More ideas are welcome!
The text was updated successfully, but these errors were encountered: