Change BuildConfig for Instrumentation Tests only

Viewed 436

Is it possible to change the fields in a BuildConfig for Instrumentation Tests only?

The current motivation behind this is that I want to point an app's urls to a different server (i.e. a local mock server) only for Instrumentation Tests. These urls are configured via buildConfigFields in the build.gradle for several flavors of the app.

0 Answers
Related