Hi,

'yunit' task ist not supported by the coverage task.

What you can do as a workaround is to create the JaCoCo VM parameter with the 'agent' task and supply this parameter to the 'yunit' task with the respective option.

See documentation: http://www.eclemma.org/jacoco/trunk/doc/ant.html#agent

Best regards,
-marc

On 2014-04-16 15:38, Mark Lübbehüsen wrote:
Hello,

we want to use the jacoco code coverage tool for a hybris project with
Ant and Jenkins.

We have found no guidance specifically for yunit only for junit.

http://www.eclemma.org/jacoco/trunk/doc/ant.html [1]

If I call the yunit as a child of Jacoco:coverage, it comes the
following error message.

testing.xml:107: yunit is not a valid child of the coverage task

System:

Ant1.9

Jenkins 1.527

How is it possible to use the code coverage tool jacoco with yunit?

thx

 --
 You received this message because you are subscribed to the Google
Groups "JaCoCo and EclEmma Users" group.
 To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
 For more options, visit https://groups.google.com/d/optout [2].


Links:
------
[1] http://www.eclemma.org/jacoco/trunk/doc/ant.html
[2] https://groups.google.com/d/optout

--
You received this message because you are subscribed to the Google Groups "JaCoCo 
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to