-
Notifications
You must be signed in to change notification settings - Fork 599
Testing
mdzyuba edited this page Jun 6, 2015
·
3 revisions
The project tests are developed with Android Instrumentation test framework and Android Test Kit that provides Espresso and other libraries.
In order to run the tests from the command line, connect a test device and run these commands:
$ cd android-client
$ ./gradlew connectedCheck
Once the tests are done, the report will be stored in mifosng-android/build/outputs/reports/androidTests/connected/index.html
In order to run the tests in Android Studio, add a test target to the run configuration
- Build > Edit Configurations > + > Android Tests >
-
Specify Name: Tests
-
Specify Module: mifosng-android
-
Select Target device:
-
Show chooser dialog if you like to run the tests on a device or
-
Emulator if you like to run the tests in an emulator.
-
#Android-Client API Documentation API: https://demo.mifos.io/api-docs/apiLive.htm