(There are a tonne of these questions, but all the ones I can find relate to Maven. Before you suggest this one is a duplicate, please understand that this doesn't relate to Maven in any way.)
I am using Cobertura within Eclipse to determine my percentage of code covered by my JUnit tests. All 99 of my unit tests run successfully, both within and outside of Cobertura, but Cobertura reports back that they have covered 0% of my code.
I :
- am running Cobertura through the Eclipse plugin
- am using Java 6, specifically OpenJDK-AMD64 on Ubuntu
- have ensured that the unit tests do cover some sections of my code
- have ensured that Cobertura is running all my test folder on all of my src folder
- have tried to clean and rebuild
Why does Cobertura report 0%?