mirror of
https://github.com/status-im/react-native.git
synced 2025-02-19 12:57:00 +00:00
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` .
|
|
|
|
# Running tests
|
|
|
|
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see [Testing](https://facebook.github.io/react-native/docs/testing.html).
|