I want to be able to create Jacoco reports based on the tests run with the JUnit launcher. Is there a way to generate a report only based on the JUnit launcher?
I am currently using the Instrumenter class to generate a source file for a class that I'd want to test, however, there does not seem to be a way to add this to the JUnit launcher when running it.
The only way I have found in the examples on the API is that the class for which the reports can be generated have to implement the Runnable interface but this will not be possible, so is this step necessary for getting the eventual data in the ExecutionDataStore?
From what I can imagine it must be possible since it is essentially the same as how for example IntelliJ would generate its reports. Is there any direction I should be looking for information, examples etc.?