-
1. Re: Arquillian coverage report on Jenkins Help Please
vineet.reynolds Mar 30, 2012 6:19 AM (in response to mano_seba)Maybe you should wait for this - https://issues.jenkins-ci.org/browse/JENKINS-10835 to be fixed?
-
2. Re: Arquillian coverage report on Jenkins Help Please
mano_seba Mar 31, 2012 6:32 AM (in response to vineet.reynolds)Thanks for the reply Mr. Reynolds. I saw this before but I thought there's another way and I missed it.
I have another question, is there a way to implement the coverage for arquillian (except jacoco) for the local testing. I'm using maven, JBoss 7.1.0.Final and arquillian can I use somethig to show me in the cmd console the coverage of my tests.
Sorry if it's a dumb question but I'm newbie
-
3. Re: Arquillian coverage report on Jenkins Help Please
vineet.reynolds Mar 31, 2012 7:38 AM (in response to mano_seba)Not a dumb question at all
Let's take this as two steps -
1. You're able to get a jacoco.exec file generated by the Arquillian-Jacoco extension. If this part works for you, then you need something to read the contents of the jacoco.exec file and present a report.
2. You could use Sonar, but since you do not want to use it, you could rely on the jacoco:report goal of the Jacoco Maven plugin since Jenkins will not parse the file yet. To see the details for the goal, run:
mvn help:describe -Dplugin=org.jacoco:jacoco-maven-plugin -Ddetail
You'll find the details of the parameters to this goal, so that you could configure it in your Maven build to run after you've generated the jacoco.exec file.
-
4. Re: Arquillian coverage report on Jenkins Help Please
mano_seba Mar 31, 2012 9:28 AM (in response to vineet.reynolds)Thanks for the help, now I start work on it. Have a nice weekend.