Calculating Java Code Coverage for Non-JVM e2e Tests Suite and More With JCov

1. What Is Dynamic Instrumentation Code Coverage and Why Do We Want It?

Java code coverage tools, like these embedded in IDEs or provided as CI environments plugins, are great, but they have one limitation — the tests you run have to also be written in Java or other JVM language. What if you have suites of tests in other, non-JVM languages and would like to know what is covered and what is not?

I've faced such an issue — we had a really big suite of e2e REST API tests written in Python and executed them against big Java application running on Tomcat. We wanted to track where these tests go in the code. But how to check it?