Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java support: creating a Javac-scoverage plugin #235

Open
spockz opened this issue Oct 2, 2018 · 0 comments
Open

Java support: creating a Javac-scoverage plugin #235

spockz opened this issue Oct 2, 2018 · 0 comments

Comments

@spockz
Copy link

spockz commented Oct 2, 2018

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:

  1. Java is getting more and more functional so statement coverage is useful.
  2. 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant