Hello, I am new to cobertura and am trying to configure the cobertura-maven-plugin. I have added the reporting plugin:
... <reporting> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> </plugin> </plugins> </reporting> ... However when I run 'mvn clean site' the unit tests run once, with many failing for strange reasons, then they all run again with success. When I view my reports, it says all tests passed but then says that the code coverage is very low (almost 0%), which is just not true. Are the tests supposed to run twice? I can supply more details, logs, etc if required, however I am not sure where to start. Cheers, Justin. ______________________________________________________________________ This email, including attachments, is intended only for the addressee and may be confidential, privileged and subject to copyright. If you have received this email in error, please advise the sender and delete it. If you are not the intended recipient of this email, you must not use, copy or disclose its content to anyone. You must not copy or communicate to others content that is confidential or subject to copyright, unless you have the consent of the content owner.