[jbosstools-issues] [JBoss JIRA] (JBIDE-16214) Code Coverage jobs needs to have locally available measured plugins

Xavier Coulon (JIRA) issues at jboss.org
Tue May 20 08:54:56 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-16214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969037#comment-12969037 ] 

Xavier Coulon commented on JBIDE-16214:
---------------------------------------

I have the same problem with code coverage on the JAX-RS tooling, where all the classes of the plugin have a 0% coverage rate, and only the JUnit test cases (*TestCase classes) have a coverage rate > 0%: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/JBossTools/view/JBossTools_Master/job/jbosstools-webservices_master/ws/sources/target/coverage-report/html/JBoss_Tools_chunk/org.jboss.tools.ws.jaxrs.core.internal.metamodel.domain/index.html

This result is different from what I get when running locally with PDE + EclEmma.

> Code Coverage jobs needs to have locally available measured plugins
> -------------------------------------------------------------------
>
>                 Key: JBIDE-16214
>                 URL: https://issues.jboss.org/browse/JBIDE-16214
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: build
>    Affects Versions: 4.1.1.CR1
>            Reporter: Vlado Pakan
>            Assignee: Mickael Istria
>             Fix For: 4.1.x
>
>
> Code Coverage calculating via maven build returns 0% coverage because it's using source code and binary plugins installed from update site.
> When these are built locally prior to build calculating code coverage it returns correct results.
> Unfortunately sometimes maven build used plugins installed from update site instead of those which are locally build.
> We need to find way how to fix this.
> It's already reported here https://bugs.eclipse.org/bugs/show_bug.cgi?id=352560



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list