@@ -93,9 +93,13 @@ Here are the 4 dimensions we cover in manual testing:
9393# 2. Kill Metro
9494# 3. Remove any existing RNTester:
9595xcrun simctl uninstall booted com.meta.RNTester.localDevelopment
96- # 4. Build, install, and run RNTester + Metro:
96+ # 4. clean up everything
97+ yarn test-release-local-clean
98+ # 5. install dependencies
99+ yarn
100+ # 6. Build, install, and run RNTester + Metro:
97101yarn test-release-local -t "RNTester" -p "iOS" -c $GITHUB_TOKEN
98- # 5 . Verify tests "what to test"
102+ # 7 . Verify tests "what to test"
99103```
100104
101105**2. RNTester + Android:**
@@ -105,22 +109,29 @@ yarn test-release-local -t "RNTester" -p "iOS" -c $GITHUB_TOKEN
105109# 2. Kill Metro
106110# 3. Remove any existing RNTester:
107111adb uninstall com.facebook.react.uiapp
108- # 4. Build, install, and run RNTester + Metro:
112+ # 4. clean up everything
113+ yarn test-release-local-clean
114+ # 5. install dependencies
115+ yarn
116+ # 6. Build, install, and run RNTester + Metro:
109117yarn test-release-local -t "RNTester" -p "Android" -c $GITHUB_TOKEN
110- # 5 . Verify tests "what to test"
118+ # 7 . Verify tests "what to test"
111119```
112120
113121**3. RNTestProject + iOS:**
114122
115123```bash
116-
117124# 1. Open an iOS Emulator
118125# 2. Kill Metro
119126# 3. Remove any existing RNTestProject:
120127xcrun simctl uninstall booted org.reactjs.native.example.RNTestProject
121- # 4. Build, install, and run RNTestProject + Metro:
128+ # 4. clean up everything
129+ yarn test-release-local-clean
130+ # 5. install dependencies
131+ yarn
132+ # 6. Build, install, and run RNTestProject + Metro:
122133yarn test-release-local -t "RNTestProject" -p "iOS" -c $GITHUB_TOKEN
123- # 5 . Verify tests "what to test"
134+ # 7 . Verify tests "what to test"
124135```
125136
126137**4. RNTestProject + Android**
@@ -130,9 +141,13 @@ yarn test-release-local -t "RNTestProject" -p "iOS" -c $GITHUB_TOKEN
130141# 2. Kill Metro
131142# 3. Remove any existing RNTestProject:
132143adb uninstall com.rntestproject
133- # 4. Build, install, and run RNTestProject + Metro:
144+ # 4. clean up everything
145+ yarn test-release-local-clean
146+ # 5. install dependencies
147+ yarn
148+ # 6. Build, install and run RNTestProject + Metro:
134149yarn test-release-local -t "RNTestProject" -p "Android" -c $GITHUB_TOKEN
135- # 5 . Verify tests "what to test"
150+ # 7 . Verify tests "what to test"
136151```
137152
138153## What to test?
0 commit comments