Skip to content
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

"quiet" option suppresses error messages #1

Open
edysli opened this issue Jul 21, 2015 · 0 comments
Open

"quiet" option suppresses error messages #1

edysli opened this issue Jul 21, 2015 · 0 comments

Comments

@edysli
Copy link

edysli commented Jul 21, 2015

Documentation for the "quiet" optional parameter says:

Only output Cobertura errors, avoid info messages.

But I noticed that running the check goal with quiet=true also suppresses error-level messages:

with quiet=false

[INFO] <<< cobertura-maven-plugin:2.7:check (default) < [cobertura]test @ project <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.7:check (default) @ project ---
[INFO] Cobertura 2.1.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[INFO] Cobertura: Loaded information on 10 classes.
[ERROR] project failed coverage check. Branch coverage rate of 69.1% is below 99.0%
[ERROR] project failed coverage check. Line coverage rate of 89.2% is below 99.0%

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

with quiet=true

[INFO] <<< cobertura-maven-plugin:2.7:check (default) < [cobertura]test @ project <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.7:check (default) @ project ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

I would expect to see the two ERROR lines when quiet=true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant