Junit5 tests support for "Virtual Device Testing for Android"

How to run Junit5 tests on the “Virtual device Testing for Android” step?

Is there a way to pass an instrumentationRunnerArgument to the step?

The Android Studio successfully grabs Junit5 configuration from the build.gradle and executes it.

 android {
    defaultConfig {

There is an Environment Variables input in Test Setup section.
You can runnerBuilder=de.mannodermaus.junit5.AndroidJUnit5Builder there.


Thanks! Works like a charm

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.