react-native/scripts
Kevin Lacker affd5ac681 Improve Android testing scripts
Summary:
The goal of this pull request is to make it easier for contributors to run Android tests locally, specifically the unit tests and integration tests. I added a bunch of checks to the local testing scripts that will warn you if your environment is misconfigured, and tell you how to fix it. I also updated the testing docs, so that the regular "Testing" page should be a decent resource to point people to when you are telling them "hey this pull request needs a test." Just Android, though, I haven't gotten to the iOS parts yet.

I also disabled a couple tests that seemed quite flaky while running on a local machine, and don't seem to be providing much value. In particular, the `TestId` test just hangs on my emulator a lot and has been flaky on CI in the past, so I removed about half of its test cases to make the sample app smaller. The testMetions test appears to be dependent on screen size so I commented it out.
Closes https://github.com/facebook/react-native/pull/11442

Differential Revision: D4323569

Pulled By: bestander

fbshipit-source-id: 9c869f3915d5c7cee438615f37986b07ab251f8c
2016-12-13 17:13:35 -08:00
..
android-e2e-test.js E2e android 2016-04-13 08:20:05 -07:00
bump-oss-version.js Better release script 2016-09-23 08:28:35 -07:00
circle-ci-android-setup.sh Improved android e2e tests stability 2016-06-24 16:58:28 -07:00
objc-test-ios.sh Allow specifying no destination for the uiexplorer test run 2016-11-15 12:58:40 -08:00
objc-test-tvos.sh Allow specifying no destination for the uiexplorer test run 2016-11-15 12:58:40 -08:00
objc-test.sh Allow specifying no destination for the uiexplorer test run 2016-11-15 12:58:40 -08:00
publish-npm.js Circle CI releases now work with Java 8 2016-10-28 07:58:52 -07:00
run-android-ci-instrumentation-tests.js Stabilized TestIdTestApp integration test 2016-05-26 13:43:29 -07:00
run-android-emulator.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
run-android-local-integration-tests.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
run-android-local-unit-tests.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
run-ci-e2e-tests.js Rewrite 'react-native init' and 'react-native upgrade' without using Yeoman in preparation for templates support 2016-11-18 18:28:51 -08:00
run-instrumentation-tests-via-adb-shell.sh Stabilized TestIdTestApp integration test 2016-05-26 13:43:29 -07:00
sync-css-layout.sh Rename directories 2016-12-07 05:14:12 -08:00
test-manual-e2e.sh Fixed manual e2e test runner script 2016-06-21 05:28:31 -07:00
try-n-times.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
validate-android-device-env.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
validate-android-sdk.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00
validate-android-test-env.sh Improve Android testing scripts 2016-12-13 17:13:35 -08:00