Introducing jacoco.exec files on Hudson: easy-to-use coverage results
by Mickael Istria
Hi all,
As tracked by https://issues.jboss.org/browse/JBIDE-10537 , we are
aiming to support Jacoco for code coverage. Jacoco [1] is a very nice
and easy to set up coverage tool that has no significant impact (in our
use-case) on performance [2] , and that only requires a system
property[3] or a maven plugin to set it up in your build [4]. It
requires no instrumentation, so it does not requires additional step in
build workflow to get results.
Jacoco's only current drawback is it's missing integration with Jenkins
[5], but as soon as this is available, we will fully drop support for
all the emma stuff to move to Jacoco.
Waiting for this Jacoco-Jenkins integration, I set up the Maven plugin
in parent and Hudson jobs so that test execution produce a jacoco.exec
file. This file is archived in your build result along with the output
update-site.
See [6] for examples. It is set up for all components jobs on Trunk. If
you don't see this on your job that means that you did not run a build
since this was changed, just start a build to see the jacoco.exec file
in the end.
If you want to have local report, then run "mvn clean install" (or
anything that works and runs tests) in your local component module.
Ensure you are up-to-date with build/ and your-component/ first.
This jacoco.exec file is pretty easy for you to consume. You can import
it in Eclipse using EclEmma plugin [7] (see [8] for how-to) and you'll
get reports in a dedicated view and also directly on your source code
editor. Beware that your jacoco.exec files has coverage support for the
latest test execution, so file that change it may be inaccurate when
dealing with files that have changed in your workspace since jacoco.exec
was generated.
Please add feedback to JBIDE-10537
[1] http://www.eclemma.org/jacoco/
[2] http://www.sonarsource.org/pick-your-code-coverage-tool-in-sonar-2-2/
[3] http://www.eclemma.org/jacoco/trunk/doc/agent.html
[4] http://www.eclemma.org/jacoco/trunk/doc/maven.html
[5] https://issues.jenkins-ci.org/browse/JENKINS-10835
[6]
http://hudson.qa.jboss.com/hudson/view/DevStudio/view/DevStudio_Trunk/job...
[7] http://www.eclemma.org/installation.html#updatesite
[8] http://www.eclemma.org/userdoc/importexport.html
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
My blog <http://mickaelistria.wordpress.com> - My Tweets
<http://twitter.com/mickaelistria>
12 years, 8 months
Welcome Screen and 3rd party extras...
by Victor Rubezhny
Snjeza, Denis.
It seems that some of your fixes have disabled Welcome Screen Editor to
be shown instead of Welcome Screen Intro, and as such fixed issue
https://issues.jboss.org/browse/JBDS-1983 (JBDS Welcome screen should
accept contributions from 3rd party extras like JRebel, Spring,
FindBugs, PMD).
Could you verify, that it's true, and JBDS-1983 is really fixed?
We (me and Nick) have verified it on linux x64 using JBDS 5.0.0.beta1 as
well as 5.0.0.beta2, it seems that JBDS-1983 is not reproducible for us.
Best Regards,
Victor.
12 years, 9 months
Re: [jbosstools-dev] Important Reply.
by Franky Meersman
Good day,
My name is Franky Meersman, a senior staff and an executive of a bank here in United Kingdom. I am writing to seek your indulgence and assistance. I wish to make a transfer involving an amount of money estimated at 20,000.000.00 (Twenty Million British Pounds Sterling) and I feel strongly that you will be capable of receiving this fund into your account in your country.
I am proposing to make this transfer to a designated bank account of your choice. I could not do this project alone since I am an insider in the bank. A zero account balance or a new account may be opened for this purpose. Thus, for your indulgence and support, I propose an offer of 25% of the total amount to be your compensation and commission after the transfer has been successfully concluded. reply me private (meersmanfr(a)ymail.com) 447045709908
Thanks and God bless.
Regards
Franky Meersman
12 years, 9 months