Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 2.2
-
Fix Version/s: 2.2
-
Labels:None
-
Environment:Windows XP, Sun Java 1.4.2_16, Maven 2.0.4/2.0.5/2.0.6/2.0.7, Surefire plugin 2.2/2.3
Description
Running 'mvn test' (after specifying which version of the surefire-plugin to use) with the current trunk fails with the following console output:
Running org.codehaus.mojo.cobertura.CoberturaCheckMojoTest
[INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
Cobertura: Loaded information on 1 classes.
[ERROR] Circle failed check. Line coverage rate of 0.0% is below 80.0%
Package failed check. Package line coverage rate of 0.0% is below 80.0%
Project failed check. Total line coverage rate of 0.0% is below 80.0%
[INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
Cobertura: Loaded information on 1 classes.
[ERROR] Circle failed check. Line coverage rate of 0.0% is below 80.0%
Package failed check. Package line coverage rate of 0.0% is below 50.0%
Project failed check. Total line coverage rate of 0.0% is below 50.0%
[INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
Cobertura: Loaded information on 1 classes.
[ERROR] Circle failed check. Line coverage rate of 0.0% is below 100.0%
Package failed check. Package line coverage rate of 0.0% is below 50.0%
Project failed check. Total line coverage rate of 0.0% is below 50.0%
[INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
Cobertura: Loaded information on 1 classes.
[ERROR] Circle failed check. Line coverage rate of 0.0% is below 100.0%
Package failed check. Package line coverage rate of 0.0% is below 100.0%
Project failed check. Total line coverage rate of 0.0% is below 100.0%
[INFO] Cobertura 1.9 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
Cobertura: Loaded information on 1 classes.
[ERROR] Circle failed check. Line coverage rate of 0.0% is below 100.0%
Package failed check. Package line coverage rate of 0.0% is below 100.0%
Project failed check. Total line coverage rate of 0.0% is below 100.0%
[ERROR] Coverage check failed. See messages above.
[INFO] Cannot perform check, instrumentation not performed - skipping.
Tests run: 7, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.61 sec <<< FAILURE!
Attached is the surefire report.
This will need to be fixed somehow before 2.2 is released.