Skip to content

Run coverageReport failed when not set managedDevices #90

@LinkDX

Description

@LinkDX

On release 1.7.0, following check will cause test failed when not set testOptions.managedDevices in project's build.gradle. allDevices*AndroidTest and connected*AndroidTest will not be generated when not set this option.

RootCoveragePlugin.kt

} else {
    // If this plugin should not run instrumented tests on it's own, at least make sure it runs after those tasks (if they are
    // selected to run as well).
    mustRunAfter("$path:allDevices${name}AndroidTest")
    mustRunAfter("$path:connected${name}AndroidTest")
}

Maybe we should remove this check or do this check when related tasks exist?

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