-
Notifications
You must be signed in to change notification settings - Fork 58
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
Ascii art progress indicator messes up Gradle output #267
Comments
Unfortunately this is produced by SpinnerListener, which is linked up through MutationCoverage only if the output is not verbose. Since you probably don't want to turn on verbose logging, that creates a conundrum. One option is to use https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/JavaExec.html#setStandardOutput-java.io.OutputStream- to capture Pitest Alternatively, simply capture all of the output in a buffer and print it in one go at the end of task execution. And yet another option is to use class-loader shadowing to replace the @szpak How do you feel about those options, and what other options do you see? |
This will be addressed in pitest 1.7.1, which adds a new "verbosity" param, with options to enable/disable the spinner and swallow a lot of the noise from the minions. |
2-:\7|3/ -I\ |>/W-R\I|G/:-M\n|o/ -x\t|d/a-n\rm23:48:42 PIT >> INFO : Completed in 74 seconds /
The line above is supposed to contain "WARNING". Over time, while PIT runs, the characters "\|/" are added all over the screen, overwriting existing characters.
Gradle 7
pitestVersion = '1.6.5'
junit5PluginVersion = '0.14'
implementation 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.6.0'
The text was updated successfully, but these errors were encountered: