I need to use Jacoco and Junit on the fly with Jupyter and IJava kernel. Do exist a programmatic way to use JaCoCo with Junit by passing the list of test classes to exec and the list of classes to compute the coverage?
I see that codes that use the JaCoCo API and I test it with this notebook. I try to expand it with Junit in this other notebook but it seems do not work.
Quick Replicate the problem
- run with docker
docker run -v notebook:/server/notebook -p 8888:8888 nicolalandro/multilanguage-jupyter:1.0 - (or if you prefer you can deploy the jupyter notebook on Heroku by clicking the Deploy button on this Repo README.md.)
- java download and open this notebook.