Skip to content

Commit 67fb717

Browse files
docs: update community resources (#1558)
* docs: update community resources * docs: fix typos
1 parent 3e2060d commit 67fb717

File tree

3 files changed

+21
-8
lines changed

3 files changed

+21
-8
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,10 @@ The [public API](https://callstack.github.io/react-native-testing-library/docs/a
131131

132132
- [Troubleshooting guide](https://callstack.github.io/react-native-testing-library/docs/troubleshooting)
133133

134-
## Related External Resources
134+
## Community Resources
135+
136+
Check out our list of [Community Resources about RNTL](https://callstack.github.io/react-native-testing-library/docs/community-resources).
135137

136-
- [Real-world extensive examples repo](https://github.com/vanGalilea/react-native-testing)
137-
- [Where and how to start testing 🧪 your react-native app ⚛️ and how to keep on testin’](https://blog.usejournal.com/where-and-how-to-start-testing-your-react-native-app-%EF%B8%8F-and-how-to-keep-on-testin-ec3464fb9b41)
138-
- [Intro to React Native Testing Library & Jest Native](https://youtu.be/CpTQb0XWlRc)
139138

140139
## Made with ❤️ at Callstack
141140

website/docs/CommunityResources.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
id: community-resources
3+
title: Community Resources
4+
---
5+
6+
### Recommended content
7+
- [The Testing Trophy and Testing Classifications](https://kentcdodds.com/blog/the-testing-trophy-and-testing-classifications) by Kent C. Dodds (2021) - classic article explaining testing philosophy behind all Testing Library implementations.
8+
- [Common mistakes with React Testing Library](https://kentcdodds.com/blog/common-mistakes-with-react-testing-library) by Kent C. Dodds (202) - classic article explaining React Testing Library best practices, highly applicable to RNTL as well.
9+
- [React Native — UI Testing (Ultimate Guide)](https://github.com/anisurrahman072/React-Native-Advanced-Guide/blob/master/Testing/RNTL-Component-Testing-ultimate-guide.md) by Anisur Rahman - comprehensive guide to RNTL testing
10+
- [React Native Testing examples repo](https://github.com/vanGalilea/react-native-testing) by Steve Galili - extensive repo with RN testing examples for RNTL and Maestro
11+
12+
### Older, potentially outdated content
13+
- [Where and how to start testing 🧪 your react-native app ⚛️ and how to keep on testin’](https://blog.usejournal.com/where-and-how-to-start-testing-your-react-native-app-%EF%B8%8F-and-how-to-keep-on-testin-ec3464fb9b41) by Steve Galili (2020) - article referencing Steve's examples repo.
14+
- [Intro to React Native Testing Library & Jest Native](https://youtu.be/CpTQb0XWlRc) by Alireza Ghamkhar (2020) - video tutorial on RNTL setup and testing.

website/sidebars.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
module.exports = {
22
docs: {
3-
Introduction: ['getting-started', 'faq'],
4-
'API Reference': ['api', 'api-queries', 'jest-matchers', 'user-event'],
5-
Guides: ['how-should-i-query', 'eslint-plugin-testing-library', 'troubleshooting'],
3+
Introduction: ['getting-started'],
4+
'API Reference': ['api', 'api-queries', 'user-event', 'jest-matchers'],
5+
Guides: ['how-should-i-query', 'troubleshooting', 'faq', 'eslint-plugin-testing-library'],
66
Advanced: ['testing-env', 'understanding-act'],
7+
Community: ['community-resources'],
78
Migrations: [
89
'migration-jest-native',
910
'migration-v12',
@@ -12,6 +13,5 @@ module.exports = {
1213
'migration-v7',
1314
'migration-v2',
1415
],
15-
Examples: ['react-navigation', 'redux-integration'],
1616
},
1717
};

0 commit comments

Comments
 (0)