summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorAntonio Zugaldia <antonio@silicalabs.com>2015-09-16 14:03:03 -0400
committerAntonio Zugaldia <antonio@silicalabs.com>2015-09-16 14:03:03 -0400
commitec19af2aa5c114f9a485af511ccedbbec1b36c59 (patch)
treed63211add7448f7820ea0cfd15b3145cc5f105bf /android
parentce2793d84d139118f50061cd17a32f11e1469b64 (diff)
downloadqtlocation-mapboxgl-ec19af2aa5c114f9a485af511ccedbbec1b36c59.tar.gz
import JUnit tests instructions
Diffstat (limited to 'android')
-rw-r--r--android/java/MapboxGLAndroidSDKTestApp/README.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/android/java/MapboxGLAndroidSDKTestApp/README.md b/android/java/MapboxGLAndroidSDKTestApp/README.md
index 96e2e30b76..646f29c4b4 100644
--- a/android/java/MapboxGLAndroidSDKTestApp/README.md
+++ b/android/java/MapboxGLAndroidSDKTestApp/README.md
@@ -48,8 +48,9 @@ you can just choose "Built-in: Fuzz" in step 2.
### Running pure JUnit tests
These tests run on a local JVM on your development machine and they are extremely fast to run
-(as compared to Espresso). These tests are located under `src/test/java` and to run them you just
-need to right click the corresponding test class or method and select "Run ...".
+(as compared to Espresso). These tests are located under `src/test/java`. To run them you switch
+to the Unit Tests build variant, then right click the corresponding test class or method
+and select "Run ...".
You can also have a run configuration:
* Click on Run -> Edit Configurations...
@@ -59,6 +60,12 @@ You can also have a run configuration:
* As folder, choose the following folder: `mapbox-gl-native/android/java/MapboxGLAndroidSDKTestApp/src/test/java`
* Click OK to save the new configuration
+You can also run the tests from the command line with:
+
+```
+$ ./gradlew test --continue -p MapboxGLAndroidSDKTestApp
+```
+
### Running the UI/Application Exerciser Monkey
Similar to the "Built-in: Fuzz" test mentioned above, Android provides