is there a way to configure jacoco coverage inside...
# community-support
t
is there a way to configure jacoco coverage inside of a gradle
Test
task to write a seperate jacoco session exec file per test? Idea being that if I had one report per test I'd be able go thru and analyze overlap between tests etc
v
I don't think JaCoCo is prepared for that. Maybe if you would make sure tests are running sequentially and then have some listener for test completion and then after each test tell the JaCoCo runtime via JMX to dump out the state or something like that. But that is something you need to build yourself or check whether some plugin exists. There is nothing built-in into Gradle for that afaik.
thank you 1