mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
Update test/README.md to say they are no longer in disrepair, and that robotium isn't used.
This commit is contained in:
parent
ad1c3d2438
commit
9f7e179288
@ -21,7 +21,6 @@
|
||||
# Android Native Tests
|
||||
|
||||
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
|
||||
|
||||
@ -41,14 +40,6 @@ Copy it from a freshly created project:
|
||||
(cd foo && cordova/build --gradle; cp -r gradlew gradle ..)
|
||||
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
|
||||
|
||||
To run manual tests:
|
||||
@ -59,6 +50,8 @@ To run unit tests:
|
||||
|
||||
./gradlew connectedAndroidTest
|
||||
|
||||
`BUILD SUCCESSFUL` means that the tests all passed :)
|
||||
|
||||
## Android Studio
|
||||
|
||||
1. Use "Non-Android Studio Project" to import the `test` directory.
|
||||
|
Loading…
Reference in New Issue
Block a user