Hallo Ondrej, 

there is a couple of out-of-the-box solutions to do this: 

        * Launch your program within Eclipse in coverage mode (using the
EclEmma code coverage plug-in http://www.eclemma.org/)
        * Launch your program with a Maven build (using JaCoCo maven plugin
http://www.jacoco.org/jacoco/trunk/doc/maven.html)
        * Launch your program with a Ant build (using the JaCoCo Ant tasks
http://www.jacoco.org/jacoco/trunk/doc/ant.html)
        * Use any other integration of JaCoCo
(http://www.jacoco.org/jacoco/trunk/doc/integrations.html)

Regards,
-marc 

On 2017-04-03 19:25, Ondrej Zoricak wrote:

> Hello guys. 
> 
> I read documentations and I find some examples but I didn't find any example 
> how to write code coverage program using Jacoco API. I need just number of 
> lines which are executed when some external program is running so I expected 
> that my program should build and run this external project and give me some 
> result... but do I need Jacoco plugin for this or how is it working? Thank 
> you for any help. 
> 
> -- 
> 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].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/8707283c-4baa-4748-9669-f8b5a5968eb8%40googlegroups.com
>  [1].
> For more options, visit https://groups.google.com/d/optout.

  

Links:
------
[1]
https://groups.google.com/d/msgid/jacoco/8707283c-4baa-4748-9669-f8b5a5968eb8%40googlegroups.com?utm_medium=email&utm_source=footer

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/6884e753e9e19b5c834a6028818a0e1e%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to