Skip to content
This repository was archived by the owner on Oct 25, 2025. It is now read-only.

code coverage user interface is pretty different now... #46

@jimandreas

Description

@jimandreas

In the step "Bonus: Code Coverage" the latest Android Studio version (2.1.1) is quite different from what is discussed in:

https://codelabs.developers.google.com/codelabs/android-testing/#10

After some fumbling around I found the code coverage controls and am now happily experimenting with them. There does seem to be some documentation here that matches what I see in Android Studio:

https://www.jetbrains.com/help/idea/2016.1/viewing-code-coverage-results.html

Basically a right click on the tests in the Project view provides a "Run soAndSo with Coverage" while mysteriously this is sometimes greyed out in the Run menubar drop-down. The "Coverage" side tab or View then Tool Windows then Coverage selection gives you the Coverage view of the underlying code. And the various packages are then annoted in the Project window with the percentage of test coverage. Rather nice!!

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions