Skip to content

Support for coverage report for multiplatform library modules with only Android and iOS targets #759

@dimrsilva

Description

@dimrsilva

What is your use-case and why do you need this feature?
I am working on a multi-platform project with library modules that only implements Android and iOS targets. I think this is a common use-case.
I am using the com.android.kotlin.multiplatform.library, and was not able to get coverage reports running the Android tests on JVM. The ":library:testAndroidHostTest" does not run with the coverage report.

I did a workaround solution by creating a specific android-application module and put all my tests there, by doing that it was possible to get my coverage report.

Describe the solution you'd like
Support for running the coverage using the com.android.kotlin.multiplatform.library plugin without a JVM target.

Metadata

Metadata

Assignees

Labels

BugBug issue typeS: in progressStatus: implementing or design in process

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions