Support Code-Coverage (preferably Jacoco) for integration tests #1434
Comments
Please make a PR, thanks. |
Also, have you tried the jacoco gradle plugin in your gradle build? |
Yes we did. Integrationtests do not contribute to the code coverage measured by jacoco. |
Yes, a new VM is launched to run the framework, test bundles and any other -runbundles. |
It seems that
I prepared a sample project
|
You are using the You need to put |
Integration tests in bndtools use a custom test launcher. Thats why they are not part of test coverage (coverage always 0%).
Guess its only a matter of passing jacoco preprocessing code to the underlying test process. I have not looked deeply into the launcher code. Maybe there is already a way to do it but i do not find the right documentation for it?
The text was updated successfully, but these errors were encountered: