You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to clear the jacoco execution data before a regression test run using this plugin? I want start with a clean slate without having to restart the server. Is that possible?
Thanks for your help!
The text was updated successfully, but these errors were encountered:
This functionality is not currently exposed through the plugin. Looks like something nice to add though. In the interim if you have the jacoco agent exposed via JMX you could manually clear it when needed via the reset() method. http://eclemma.org/jacoco/trunk/doc/api/org/jacoco/agent/rt/IAgent.html
I'm doing this as part of an automated regression run. I was thinking about using the plugin with resetAfterFetch at the start of the regression run in order to clear the data. The file isn't that big and I have a quick connection between the boxes (and a regression run that takes a few hours). Would that work instead of the JMX route?
That sounds like an excellent idea. Let me know if it works out for you. I'll likely still add the reset feature, but not quite sure how soon I'll get the time.
Hi Folks,
Is it possible to clear the jacoco execution data before a regression test run using this plugin? I want start with a clean slate without having to restart the server. Is that possible?
Thanks for your help!
The text was updated successfully, but these errors were encountered: