react-native/local-cli
Konstantin Raev f9bd789206 E2e android
Summary:- converted shell script `scripts/e2e-test.sh` into JS script to have more programming flexibility
- using appium execute 2 tests after a fresh React Native app installation: check HMR and that debugging mode does not crash the app
- made sure tests can be stable on limited CI systems and added ways to debug any problems in the future

Using appium we can now interact with Android app and test its state.
As a follow up i am planning to write a blog post on how to use appium with android and ios for e2e testing.
Closes https://github.com/facebook/react-native/pull/6840

Differential Revision: D3173635

Pulled By: mkonicek

fb-gh-sync-id: 3cf044bc9f64d1a842ae4589dd1bcab76de3d66a
fbshipit-source-id: 3cf044bc9f64d1a842ae4589dd1bcab76de3d66a
2016-04-13 08:20:05 -07:00
..
__mocks__ Fix more tests 2015-09-16 13:05:30 -07:00
__tests__ Temporarily disable cli tests 2015-11-12 07:05:01 -08:00
bundle Remove socket interface from buildBundle command 2016-04-11 09:23:29 -07:00
dependencies Remove socket interface from dependencies command 2016-04-11 09:23:29 -07:00
generate Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
generator Honor the version of "react" under peerDeps when setting up a new project 2016-04-07 00:07:21 -07:00
generator-android E2e android 2016-04-13 08:20:05 -07:00
generator-ios Create offline package if not running in "Debug" config 2016-02-24 03:11:38 -08:00
library Introduce react-native link 2015-10-27 11:22:28 -07:00
runAndroid CHORE - Remove Trailing Spaces 2016-04-06 09:21:53 -07:00
runIOS Make iOS project path configurable by parameter in run-ios cli command 2016-04-01 08:03:20 -07:00
server Added support for JavaScript third-party debuggers 2016-04-07 13:15:58 -07:00
upgrade Move `react` to peerDependencies 2016-02-09 15:38:37 -08:00
util Have parseCommandLine use a new instance of optimist for each run 2016-04-08 12:09:22 -07:00
cli.js Transform packager src files in cli entry point 2016-04-11 12:43:25 -07:00
default.config.js react app root path can be override by env var 'react_native_app_root' 2016-04-07 07:39:22 -07:00
generate-android.js Add license headers to local-cli 2015-10-20 09:55:21 -07:00
generator-utils.js flowconfig adds flow/ folder 2016-03-21 06:26:34 -07:00
setup_env.bat Fix comments on .bat file 2015-10-28 21:36:07 -04:00
setup_env.sh Change ulimit to 2048 for non root Mac users 2016-02-06 11:45:37 -08:00
wrong-react-native.js Return non-zero exit code from wrong-react-native 2016-01-05 15:22:59 -08:00