Skip to content

Commit 19faea7

Browse files
authored
docs: add how you can run / test changes on a forked react-native through RNTester (facebook#4241)
1 parent bffedff commit 19faea7

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

website/contributing/how-to-open-a-pull-request.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,15 @@ IDE project configurations:
7777
- **Android Studio**: Open the repo root folder (containing the `.idea` config directory).
7878
- **Xcode**: Open `packages/rn-tester/RNTesterPods.xcworkspace`.
7979

80-
### 3. Test your changes
80+
### 3. Run your changes
81+
82+
The package rn-tester can be used to run and validate your changes. You can learn more in [RNTester readme](https://github.com/facebook/react-native/blob/main/packages/rn-tester/README.md).
83+
84+
### 4. Test your changes
8185

8286
Make sure your changes are correct and do not introduce any test failures. You can learn more in [Running and Writing Tests](/contributing/how-to-run-and-write-tests).
8387

84-
### 4. Lint your code
88+
### 5. Lint your code
8589

8690
We understand it can take a while to ramp up and get a sense of the style followed for each of the languages in use in the core React Native repository. Developers should not need to worry about minor nits, so whenever possible, we use tools that automate the process of rewriting your code to follow conventions.
8791

@@ -91,7 +95,7 @@ We also use a linter to catch styling issues that may exist in your code. You ca
9195

9296
To learn more about coding conventions, refer to the [Coding Style guide](/contributing/how-to-contribute-code#coding-style).
9397

94-
### 5. View your changes
98+
### 6. View your changes
9599

96100
Many popular editors integrate with source control in some way. You can also use `git status` and `git diff` on the command line to keep track of what has changed.
97101

0 commit comments

Comments
 (0)