简体   繁体   中英

Android Unit Test get code coverage that how much covered the working functions from unit testing

There is an in-build way to get code coverage by using "createDebugCoverageReport". but that's NOT I want. I just want something like how much I covered my functions of the project from Unit test.

您应该设置 JaCoCo 以获得覆盖单元测试首选: setup-jacoco-androidjacoco

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM