trevjonez / composer-gradle-plugin

Gradle task type and plugin for interacting with https://github.com/gojuno/composer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for AndroidX Orchestrator

b-demuth opened this issue · comments

Hi there, we've recently applied the AndroidX refactoring to our project but ran into issues when running our instrumentation tests via this plugin. The problem seems to be that the test orchestrator class and package names differ for Androidx, see the AndroidJUnitRunner documentation. Would it be possible to support the new test orchestrator in addition to the old one?

is this a possible duplicate of gojuno/composer#158 ?

This plugin doesn't know anything specifically about orchestrator so I am thinking the solution will lie in the main composer package.

I don't think these two are related. You are right in that composer first would have to support the androidx way of starting the orchestrator, but this plugin would probably have to tell composer that androidx is used (or composer would have to auto-detect this). Alternatively, composer could provide a generic way to hand in a command prefix which is inserted before the "am instrument" part of the command line.

upstream support seems to be incoming. gojuno/composer#167

planned for 0.11 hopefully tonight.