This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
Running Tests
Tom Clement Oketch edited this page Jul 29, 2014
·
5 revisions
- RapidFTR-Android maven project has the source code along with the the unit test code. Unit tests are written with the help of Robolectric, Mockito and PowerMock.
- The RapidFTR-Android project contains a folder called features which is the home of the android integration tests that are run with calabash.
-
Unit Tests:
mvn clean test
-
Integration Tests:
- Make sure the emulator is running as per the Setup Android Emulator instructions
- If you are using the default android emulator from avd, set the environment variable WEB_URL to http://10.0.2.2:2000
- If you are using Genymotion, set the environment variable WEB_URL to http://192.168.56.1:2000
bundle install
mvn clean package -DskipTests -P calabash
calabash-android run target/rapidftr-*.apk