generating code coverage report for android test project

前端 未结 3 1323
醉话见心
醉话见心 2020-12-21 15:58

i am trying to get a coverage report for my android junit test project and following this guide to do so

android update test-project -m 

        
相关标签:
3条回答
  • 2020-12-21 16:34

    Which SDK Tools version are you using? If it is 14 or later, you need to use ant emma debug install test instead of ant coverage

    0 讨论(0)
  • 2020-12-21 16:46

    Try ant all clean emma debug install test in the test project root after cleaning, updating and building both the projects

    0 讨论(0)
  • 2020-12-21 16:50
    1. Go to Java build Path
    2. Go to Source
    3. Change Default output folder from: ProjectName/classes to Project/bin/classes
    0 讨论(0)
提交回复
热议问题