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
We have a a fairly substantial project which mixes Java and Scala code. Often in separate modules, but sometimes in the same. In order to get coverage metrics for both java and scala we now need to run our tests twice. Once with scoverage and once with Cobertura.
As far as I can see there are two reasons to add support for statement coverage in java to scoverage:
Java is getting more and more functional so statement coverage is useful.
It allows for using a single coverage tool on the mixed code base. This allows for faster test runs as well as simplifying the build.
After a short look it appears as if supporting java boils down to creating a javac plugin. I’m willing to investigate this avenue. Do you guys have any ideas and pointers on this?
The text was updated successfully, but these errors were encountered:
We have a a fairly substantial project which mixes Java and Scala code. Often in separate modules, but sometimes in the same. In order to get coverage metrics for both java and scala we now need to run our tests twice. Once with scoverage and once with Cobertura.
As far as I can see there are two reasons to add support for statement coverage in java to scoverage:
After a short look it appears as if supporting java boils down to creating a javac plugin. I’m willing to investigate this avenue. Do you guys have any ideas and pointers on this?
The text was updated successfully, but these errors were encountered: