|
1 |
| -# RNTL Cookbook |
| 1 | +<p align="center"> |
| 2 | + <img alt="banner" src="assets/readme/banner.png" /> |
| 3 | +</p> |
2 | 4 |
|
3 |
| -This example app gathers recipes from |
4 |
| -the [RNTL Cookbook](https://callstack.github.io/react-native-testing-library/cookbook). |
| 5 | +# React Native Testing Library Cookbook App |
| 6 | +Welcome to the React Native Testing Library (RNTL) Cookbook! This app is designed to provide developers with a collection of best practices, ready-made recipes, and tips & tricks to help you effectively test your React Native applications. Whether you’re just starting out with testing or looking to deepen your skills, this cookbook offers something for everyone. |
5 | 7 |
|
6 | 8 | Each recipe described in the Cookbook should have a corresponding code example screen in this repo.
|
7 | 9 |
|
8 | 10 | Note:
|
9 | 11 | Since examples will showcase usage of different dependencies, the dependencies in `package.json`
|
10 | 12 | file will grow much larger that in a normal React Native. This is fine 🐶☕️🔥.
|
| 13 | + |
| 14 | +## Running the App |
| 15 | +1. Clone the repo `git clone [email protected]:callstack/react-native-testing-library.git` |
| 16 | +2. Go to the `examples/cookbook` directory `cd examples/cookbook` |
| 17 | +3. Install dependencies `yarn` |
| 18 | +4. Run the app `yarn start` |
| 19 | +5. Run the app either on iOS or Android by clicking on `i` or `a` in the terminal. |
| 20 | + |
| 21 | +## How to Contribute |
| 22 | +We invite all developers, from beginners to experts, to contribute your own recipes! If you have a clever solution, best practice, or useful tip, we encourage you to: |
| 23 | + |
| 24 | +1. Submit a Pull Request with your recipe. |
| 25 | +2. Join the conversation on GitHub [here](https://github.com/callstack/react-native-testing-library/issues/1624) to discuss ideas, ask questions, or provide feedback. |
| 26 | + |
| 27 | +## Screenshots From the App |
| 28 | +| Home Screen | Phonebook with Net. Req. Example | |
| 29 | +|-------------------------------------------------------|-----------------------------------------------------------------| |
| 30 | +|  |  | |
0 commit comments