Skip to content

Support for custom TestEngines? #330

Answered by mannodermaus
bddckr asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for bringing up this topic! Essentially, the instrumentation test libraries provided by android-junit5 hook into the Android instrumentation (which is very much hard-wired to running on JUnit 4 only) and then launch a standard discovery process for test cases with the JUnit Platform. With the most recent advancements in #329, this discovery proess can now find any TestEngine implementation on the runtime classpath and ask it to contribute to the overall test plan. This is how it finds JUnit Jupiter tests in the androidTest source set, and it would then also find stuff written with Kotest, for example.

The way to show gutter icons for non-standard test frameworks seems a bit out of …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bddckr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants