On Friday, July 12, 2019 at 10:55:16 AM UTC+2, [email protected] wrote:
>
> On Friday, July 12, 2019 at 1:11:51 PM UTC+8, Evgeny Mandrikov wrote: 
> > See documentation of "dump" Ant task at 
> https://www.jacoco.org/jacoco/trunk/doc/ant.html 
> > set "reset" parameter to "true" to reset data on agent side 
> > and 
> > do not append it to same "destfile" or set parameter "append" to "false" 
> to overwrite file. 
>
> Thanks Evgeny! 
> 'reset' will reset data after dumping... so, in order to get the clean 
> execution result, I guess I should dump (to reset), then launch my test, 
> then dump again (to really get the execution result). 


1. start your application
2. request dump with reset - you'll get execution data of startup
3. do your first test
4. request dump with reset - you'll get execution data of your first test
5. do your second test
6. request dump with reset - you'll get execution data of your second test
7. etc
 

> Is there a better approach? 


This does exactly what you asked/wanted to do. So better in what? by which 
criteria? What does not satisfy you in the above approach?

-- 
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/0dfb2254-4363-4f75-8cc0-affc96f666bf%40googlegroups.com.

Reply via email to