Permalink
Browse files

* [test] update README

  • Loading branch information...
1 parent 27075e8 commit fdb575e14c5f0edaef586f0c7d843ceb9f853d3a @sospartan sospartan committed Dec 20, 2016
Showing with 6 additions and 3 deletions.
  1. +5 −2 test/README.md
  2. +1 −1 test/run.sh
View
@@ -7,9 +7,12 @@
## Run
### Test Build-in Cases
-execute '`bash run.sh [platform]`' to perform weex sdk tests, `platform` could be `all`(default),`android`,`ios`,`h5`.
+0. Go root folder of weex Project
+0. execute `npm install` to install all dependencies
+0. execute `./test/serve.sh` to build and serve test bundles.
+0. execute `./test/run.sh [platform]` to perform weex sdk tests, `platform` could be `all`(default),`android`,`ios`,`h5`.
-### Test Separate Project
+### Test Separate Project **todo##
execute '`bash run.sh [platform] [path]`' will run test against `[path]` folder as long as it has same structure as SDK's 'test' folder.
## Develop
View
@@ -5,7 +5,7 @@ function buildAndroid {
builddir=$dir'/android/playground'
current_dir=$PWD;
cd $builddir;
- #./gradlew clean assembleDebug;
+ ./gradlew clean assembleDebug;
cd $current_dir;
pwd
}

0 comments on commit fdb575e

Please sign in to comment.