getappmap / appmap-java

AppMap client agent for Java
Other
80 stars 14 forks source link

Coverage data is generated when the agent is tested #262

Open apotterri opened 5 months ago

apotterri commented 5 months ago

It seems like we might be able to generate some coverage with JaCoCo, but only for the tests run by gradle (i.e. with ./gradlew check integrationTest). This is only a small subset of our tests, of course -- nothing run by bats will generate any coverage.

We may be able to instrument the agent jar using OpenClover, and then configure it when bats runs.