Android Studio如何获得代码覆盖率?

时间:2018-03-28 19:05:09

标签: android android-studio testing code-coverage

docsother SO questions中所述,Android Studio提供了一种运行测试并获取代码覆盖率(类,方法和行级别)的方法。

它在内部使用什么框架或工具来获得覆盖率?

1 个答案:

答案 0 :(得分:1)

Android Studio基于IntelliJ,因此使用IntelliJ的IDEA Code Coverage Runner。这是开源的,可以找到here