New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JaCoCo Test Coverage #203
JaCoCo Test Coverage #203
Conversation
…cted into the coverage-report module`
Build 1261 is now running using a merge of e82abc9 |
Build 1261 outcome was SUCCESS using a merge of e82abc9 |
This looks as a good thing, but can you please make by using maven plugin not ant, at that goes against every build principal we are trying to follow. |
There IS a perfectly good Maven plugin, you are correct. However I could not get it to work with the combined coverage. As a matter The other option is to have testing reports that are constrained to their Thoughts? On Thu, May 22, 2014 at 4:35 PM, Tomaz Cerar notifications@github.comwrote:
|
Build 1262 is now running using a merge of e82abc9 |
Build 1263 is now running using a merge of e82abc9 |
Build 1263 outcome was FAILURE using a merge of e82abc9 Failed tests
|
I want to test this a bit more, I think that that ant part wont even be needed, as our CI (teamcity) can parse the reports without it quite well. |
Ah! Good. I just wanted to be able to read them offline. Either way. On Thursday, May 22, 2014, Tomaz Cerar notifications@github.com wrote:
|
…rExchange#dispatch
So what we can do is enable individual reports inside projects and then have a final project merge them (the coverage-report project) and possibly just let team city read that one. Or we can just do the .exec files. Either way it would be easy to set up. Let me know your preference and I can push the change. |
I also want to point out that JaCoCo pull request jacoco/jacoco#97 is about this and I just added a different take on it too (jacoco/jacoco#217); |
…cted into the coverage-report module`
Conflicts: core/src/test/java/io/undertow/util/HeaderOrderTestCase.java
Build 1268 is now running using a merge of b6220c3 |
Build 1268 outcome was FAILURE using a merge of b6220c3 |
Build 1273 is now running using a merge of b6220c3 |
Build 1273 outcome was FAILURE using a merge of b6220c3 |
Build 1275 is now running using a merge of b6220c3 |
Build 1275 outcome was FAILURE using a merge of b6220c3 |
I have merged as is for now, if it turns out the ant part is not needed we can remove it later. |
Added a test coverage profile that creates jacoco execution data for each module and then aggregates the report (with an ant task) in the coverage-report module.
I had to modify one test class a little bit so it would play nice with the instrumentation from the JaCoCo agent.
New modules will have to be added to the coverage report by hand when they are added.