react-native/scripts
Martin Konicek 00167e4956 Add scripts for running tests locally
Summary:
I was going to add an integration test and realized it would be useful to have an easy way to run these test locally. Added scripts and documented how to use them.

**Test plan**

`./scripts/run-android-local-unit-tests.sh`

<img width="786" alt="screen shot 2016-05-04 at 3 55 26 pm" src="https://cloud.githubusercontent.com/assets/346214/15018667/7f4981cc-1212-11e6-9fcb-12493c29015c.png">

`./scripts/run-android-local-integration-tests.sh`

<img width="772" alt="screen shot 2016-05-04 at 3 57 23 pm" src="https://cloud.githubusercontent.com/assets/346214/15018677/90b54810-1212-11e6-83d4-58530eb41d79.png">

Buck check by replacing `which buck` by `which duck` in the scripts:

<img width="805" alt="screen shot 2016-05-04 at 4 09 37 pm" src="https://cloud.githubusercontent.com/assets/346214/15018696/aa008262-1212-11e6-9a22-173507cd771f.png">

Checked the website renders fine:

`cd website; npm install; npm start`

![screen shot 2016-05-04 at 4 05 23 pm](https://cloud.githubusercontent.com/asse
Closes https://github.com/facebook/react-native/pull/7386

Differential Revision: D3258717

fb-gh-sync-id: 023eb9fdb59b00f9507e2e0694ad0934bb564c03
fbshipit-source-id: 023eb9fdb59b00f9507e2e0694ad0934bb564c03
2016-05-04 08:58:18 -07:00
..
android-e2e-test.js E2e android 2016-04-13 08:20:05 -07:00
bump-oss-version.js Version release script 2016-03-24 08:41:24 -07:00
circle-ci-android-setup.sh Fixed CI stability: running android tests via emulator not graddle:co… 2016-03-11 13:33:26 -08:00
objc-test.sh Exit with the error status code from xcodebuild 2016-04-23 04:19:22 -07:00
publish-npm.js Version release script 2016-03-24 08:41:24 -07:00
run-android-instrumentation-tests.sh instrumentation tests are executed with BUCK 2016-03-02 06:55:35 -08:00
run-android-local-integration-test.sh Add scripts for running tests locally 2016-05-04 08:58:18 -07:00
run-android-local-unit-tests.sh Add scripts for running tests locally 2016-05-04 08:58:18 -07:00
run-ci-e2e-tests.js Optimise e2e tests retries 2016-04-25 07:16:20 -07:00
test-manual-e2e.sh Simplify manual testing steps when doing the release 2016-04-18 11:32:28 -07:00