I am not familiar with Cobertura and need to understand better what it takes to make it work for Eclipse and/or OSGi applications. Can you confirm the following assumptions are correct and/or point me to relevant Cobertura documentation

1. application and test classes need to be instrumented with metric collection "hooks" during the build time
2. instrumented code requires some support libraries at runtime
3. collected data needs to be processed into human readable report after the test

Also, do you know if Cobertura has explicit support for testing eclipse and/or OSGi applications?

Also, lets move this discussion to tycho-us...@lists.sonatype.com, if you do not mind.

--
Regards,
Igor

Hansen Candrawinata wrote:
I think having test coverage support is always good.  I do not have any
particular requirements at this stage (other than it should of course be
able to interact with the test coverage tool as seamless as possible).

FYI, I just tried Tycho with Cobertura, and it gave an error complaining
about dependency to the test plugin could not be resolved.  I ran  'mvn
cobertura:cobertura' from the parent pom directory that contains several
modules (one of which is the test plugin).  Note that 'mvn integration-test'
ran without problems.

This is maybe a premature question having known that Tycho has not been
tested with any test coverage tool yet, but if I want to try to get Tycho up
and going with Cobertura possibly with some tweaks, do you think this is
possible at this stage at all (just wanted to have an answer that I can pass
on to my colleagues)?


Igor Fedorenko-4 wrote:
The most direct and honest answer is probably "no". This came up several times in our internal discussions, but we have not tried any test coverage tool with Tycho yet.

Adding such support seems like an appropriate discussion topic for the new tycho-users mailing list we just setup [1]. So if you have particular tool in mind and/or can provide general requirements, you can subscribe to the list by sending email to tycho-users-subscr...@lists.sonatype.com

[1] http://www.sonatype.com/people/2009/03/the-future-of-maven-osgi-join-the-tycho-users-mailing-list/ --
Regards,
Igor



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to