mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
affd5ac681
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
57 lines
832 B
Plaintext
57 lines
832 B
Plaintext
# Xcode
|
|
!**/*.xcodeproj
|
|
!**/*.pbxproj
|
|
!**/*.xcworkspacedata
|
|
!**/*.xcsettings
|
|
!**/*.xcscheme
|
|
*.pbxuser
|
|
!default.pbxuser
|
|
*.mode1v3
|
|
!default.mode1v3
|
|
*.mode2v3
|
|
!default.mode2v3
|
|
*.perspectivev3
|
|
!default.perspectivev3
|
|
xcuserdata
|
|
*.xccheckout
|
|
*.moved-aside
|
|
DerivedData
|
|
*.hmap
|
|
*.ipa
|
|
*.xcuserstate
|
|
project.xcworkspace
|
|
|
|
# Gradle
|
|
/build/
|
|
/Examples/**/android/app/build/
|
|
/Examples/**/android/app/gradle/
|
|
/Examples/**/android/app/gradlew
|
|
/Examples/**/android/app/gradlew.bat
|
|
/ReactAndroid/build/
|
|
|
|
# Buck
|
|
.buckd
|
|
buck-out
|
|
/ReactAndroid/src/main/jni/prebuilt/lib/armeabi-v7a/
|
|
/ReactAndroid/src/main/jni/prebuilt/lib/x86/
|
|
/ReactAndroid/src/main/gen
|
|
|
|
# Android
|
|
.idea
|
|
.gradle
|
|
local.properties
|
|
*.iml
|
|
/android/
|
|
|
|
# Node
|
|
node_modules
|
|
*.log
|
|
.nvm
|
|
|
|
# OS X
|
|
.DS_Store
|
|
|
|
# Test generated files
|
|
/ReactAndroid/src/androidTest/assets/AndroidTestBundle.js
|
|
*.js.meta
|