How to get code coverage report for apk apk test using jacoco?

We have java lib which is used in unit tests (apk type), whitebox tests (apk type) and androids (which are also used for automatic tests). The challenge is to get a code coverage report after automatically testing all of these tests.

This java lib is built using a special tool (not Eclipse, maven, etc.). All apk files are created using Ant.

How can I get this report with Jacoco? Is it possible to create a general report that will be the result of merging reports for each test application? Any tutorial or helpful information would be appreciated.

+6
source share

Source: https://habr.com/ru/post/955670/


All Articles