Fully functional Cobertura project written in Maven using only one project.
Environment:
- Maven
- jUnit
- Cobertura
How to execute this project:
Get the files from GitHub
At the root of the project type mvn clean test
. It will clean the working directory
and create a cobertura project in ./target/surefire-reports/cobertura/index.html
On my mac I can open the index.html page by using open ./target/surefire-reports/cobertura/index.html
.
Notes an Caveats
You'll note that the tests aren't complete. The method getGoodbye is not currently being tested. This is intentional.