How can I generate the code coverage report using gradle and jacoco with ANDROIDX_TEST_ORCHESTRATOR
and keeping the clearPackageData
to true
In the release notes of Android orchestartor
. It tells Pass -e coverage true -e coverageFilePath /sdcard/foo/
flags to generate coverage files in the given location ref
I know of this bug in the Android Test orchestrator, in which the code coverage files are cleared after each test run. How can I specify the location of where to generate the code coverage files (*.ec files generated by Jacoco) using gradle so that it remains out of the app install directory.
Aucun commentaire:
Enregistrer un commentaire