Skip to content

Commit 8cc20ee

Browse files
Refactor cleanup and install steps in release testing guide
Updated the release testing guide to consolidate cleanup and dependency installation steps.
1 parent 342dedd commit 8cc20ee

1 file changed

Lines changed: 16 additions & 24 deletions

File tree

docs/guide-release-testing.md

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,11 @@ Here are the 4 dimensions we cover in manual testing:
9393
# 2. Kill Metro
9494
# 3. Remove any existing RNTester:
9595
xcrun simctl uninstall booted com.meta.RNTester.localDevelopment
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:
96+
# 4. clean up and install dependencies
97+
yarn test-release-local-clean && yarn
98+
# 5. Build, install, and run RNTester + Metro:
10199
yarn test-release-local -t "RNTester" -p "iOS" -c $GITHUB_TOKEN
102-
# 7. Verify tests "what to test"
100+
# 6. Verify tests "what to test"
103101
```
104102
105103
**2. RNTester + Android:**
@@ -109,13 +107,11 @@ yarn test-release-local -t "RNTester" -p "iOS" -c $GITHUB_TOKEN
109107
# 2. Kill Metro
110108
# 3. Remove any existing RNTester:
111109
adb uninstall com.facebook.react.uiapp
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:
110+
# 4. clean up and install dependencies
111+
yarn test-release-local-clean && yarn
112+
# 5. Build, install, and run RNTester + Metro:
117113
yarn test-release-local -t "RNTester" -p "Android" -c $GITHUB_TOKEN
118-
# 7. Verify tests "what to test"
114+
# 6. Verify tests "what to test"
119115
```
120116
121117
**3. RNTestProject + iOS:**
@@ -125,13 +121,11 @@ yarn test-release-local -t "RNTester" -p "Android" -c $GITHUB_TOKEN
125121
# 2. Kill Metro
126122
# 3. Remove any existing RNTestProject:
127123
xcrun simctl uninstall booted org.reactjs.native.example.RNTestProject
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:
124+
# 4. clean up and install dependencies
125+
yarn test-release-local-clean && yarn
126+
# 5. Build, install, and run RNTestProject + Metro:
133127
yarn test-release-local -t "RNTestProject" -p "iOS" -c $GITHUB_TOKEN
134-
# 7. Verify tests "what to test"
128+
# 6. Verify tests "what to test"
135129
```
136130
137131
**4. RNTestProject + Android**
@@ -141,13 +135,11 @@ yarn test-release-local -t "RNTestProject" -p "iOS" -c $GITHUB_TOKEN
141135
# 2. Kill Metro
142136
# 3. Remove any existing RNTestProject:
143137
adb uninstall com.rntestproject
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:
138+
# 4. clean up and install dependencies
139+
yarn test-release-local-clean && yarn
140+
# 5. Build, install and run RNTestProject + Metro:
149141
yarn test-release-local -t "RNTestProject" -p "Android" -c $GITHUB_TOKEN
150-
# 7. Verify tests "what to test"
142+
# 6. Verify tests "what to test"
151143
```
152144
153145
## What to test?

0 commit comments

Comments
 (0)