Update test/README.md to say they are no longer in disrepair, and that robotium isn't used.

This commit is contained in:
Andrew Grieve 2015-04-07 09:52:12 -04:00
parent ad1c3d2438
commit 9f7e179288

View File

@ -21,7 +21,6 @@
# Android Native Tests # Android Native Tests
These tests are designed to verify Android native features and other Android specific features. These tests are designed to verify Android native features and other Android specific features.
They currently are in disrepair, and don't pass / work on KitKat+ :(.
## Initial Setup ## Initial Setup
@ -41,14 +40,6 @@ Copy it from a freshly created project:
(cd foo && cordova/build --gradle; cp -r gradlew gradle ..) (cd foo && cordova/build --gradle; cp -r gradlew gradle ..)
rm -r foo rm -r foo
### Robotium
Robotium has to be installed for the onScrollChanged tests to work correctly. It can be
found at https://code.google.com/p/robotium/ and the jar should be put in the
'androidTest/libs' directory'.
mkdir -p androidTest/libs && curl 'http://dl.bintray.com/robotium/generic/robotium-solo-5.2.1.jar' > androidTest/libs/robotium-solo-5.2.1.jar
## Running ## Running
To run manual tests: To run manual tests:
@ -59,6 +50,8 @@ To run unit tests:
./gradlew connectedAndroidTest ./gradlew connectedAndroidTest
`BUILD SUCCESSFUL` means that the tests all passed :)
## Android Studio ## Android Studio
1. Use "Non-Android Studio Project" to import the `test` directory. 1. Use "Non-Android Studio Project" to import the `test` directory.