Skip to content

Exclude or ignore iOS-only Compose UI tests from Kover HTML report #768

@talhatek

Description

@talhatek

Hey team 👋

I have a Compose Multiplatform project targeting Android and iOS.
My Compose UI tests currently run only on iOS (iosSimulatorArm64) because Android local tests don’t work for Compose UI yet.

When I execute ./gradlew koverHtmlReport, these iOS-only tests cause the build to fail, since Kover tries to instrument them even though they are not runnable on JVM.

What I’d like to do is:

Exclude or ignore these iOS-only tests from Kover instrumentation and reporting,

Is there a recommended way to handle iOS-only tests in a Compose Multiplatform project with Kover?

Thanks a lot for the amazing tool 🙏

Metadata

Metadata

Assignees

Labels

QuestionSupport request 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