Skip to content

Potential documentation caveat #42

@TonyTangAndroid

Description

@TonyTangAndroid

Hi Rolf, thank you for having addressed #37. I did not make full validation until recently and I found out that even if we upgrade the library to version 1.4.0 with includeNoLocationClasses true, it is still required to include apply plugin: 'jacoco' at the application module level to make robolectric unit test code coverage credited to the final report. Otherwise, it will still be ignored.

Please refer to this pull request with the decreased result as an example to demonstrate my statement.

TonyTangAndroid/NeoTechCodeCoverageSample#27

The easy fix could be adding extra call out on README.md stating that apply plugin: 'jacoco' is needed. But I am not sure whether we could have it addressed at the library level to avoid such extra configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions