Working with Code Coverage API for JVM projects

Answered

Hi,

I am working on the IntelliJ plugin for Pants, and it has been an issue that the code coverage does not function for us, as it is seems to find the classfiles it needs for a JVM project.

As shown in the image, a test was "Run with Coverage", and on the right, there is no result at all.

We use Pants to compile instead of IDEA's javac, and to inject classpaths into JUnit run parameters, so I was wondering if we need to something similar to supply info to code coverage components? If so, could you kindly point out where I need to look and possibly offer any suggestions?

Thanks,
Yi

0
2 comments

Correction: 

I am working on the IntelliJ plugin for Pants, and it has been an issue that the code coverage does not function for us, as it DOES NOT seem to find what is needed, so nothing is displayed for a JVM project as shown below.

The test passed but there is no info about coverage.

 

0

Please sign in to leave a comment.