Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Adds report of test code with maven plugin by default. #94
JaCoCo maven plugin outputs coverage report with 'report' goal.
I think test code coverage is needed to know if test code run enough.
I don't think it is common practice to look include the test coverage of the test case. This would blur the coverage figures of your actual production code (test code would typically show nearly 100% if executed). Therefore at least the default behavior shouldn't be changed.
EclEmma by default reports coverage on all files simply because there is no convention for Eclipse projects to locate test code.
Thanks replies :)
I created a sample code for jacoco's report. It has enough maven convention and the report is divided by package name space (not blur).
I cannot judge its common or not. And I absolutely agree blur coverage is bad.