Closed senorbum closed 10 years ago
So the results are stored in a file called cobetura.ser that is the file that would need to be cleared. Could you try with the latest version of the plugin and if you are still getting the same results let me know
No updates for a while
When I run coverage on an integration test, it seems like the results are being cached. For example, I run coverage on one single integration test, which just hits a few classes, but its coming back with coverage results for my entire project.
I've tried clearing the
target/test-reports
directory completely, but the results are unchanged. This is the command I use to execute my tests:I also tried
and the standard grails clean/refresh dependencies. My entry in build config looks like:
After all of this, I went and commented out the code-coverage plugin in
BuildConfig.groovy
, ran my test and ran my application. I then re-added the plugin and it didn't seem to make a difference. The last thing I tried was to runAt one point recently I switched my ivy-cache directory to be under
target
, not sure if this would have any impact.