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: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by bddckr
Comment options

You must be logged in to vote
1 reply
@mannodermaus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants