Skip to content
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.

How to Run the Tests

Command Line

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

Android Studio

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.
      

Demo Credentials

  1. Username: mifos
  2. Password: password
Clone this wiki locally