Android native automation testing
Last updated
Last updated
Appfigurate can change the configuration of an Android app being automation tested using using Espresso.
An example UI automation test using Espresso is available in AppfigurateExample
. To test, ensure MainActivityTest
is selected as the Run Configuration, then tap the run button.
In your subclass, ensure that your method returns true
when running automation tests.
Before each test, call the method to ensure the app's configuration is reset to factory defaults.
In your test method, set your configuration properties to the values you require, then call the method.
See also method of
Android's Espresso tests run in the same process as the app under test, and therefore the iOS specific APIs , , , , and functions are not required and not implemented in Android.