Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jgcmarins/rtl-everywhere
[WIP] React Testing Library everywhere
https://github.com/jgcmarins/rtl-everywhere
everywhere jest library react testing wip
Last synced: 17 days ago
JSON representation
[WIP] React Testing Library everywhere
- Host: GitHub
- URL: https://github.com/jgcmarins/rtl-everywhere
- Owner: jgcmarins
- License: mit
- Created: 2019-05-29T21:08:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T09:01:35.000Z (almost 2 years ago)
- Last Synced: 2024-10-18T09:37:03.929Z (21 days ago)
- Topics: everywhere, jest, library, react, testing, wip
- Language: JavaScript
- Homepage: https://jgcmarins.github.io/rtl-everywhere/
- Size: 3.2 MB
- Stars: 26
- Watchers: 3
- Forks: 1
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [WIP] rtl-everywhere
> https://github.com/testing-library/react-testing-library
## Live
> https://www.facebook.com/reactconf/videos/674510252997549/?t=6002### Inspiration
> https://github.com/sibelius/jest-everywhere
## Topics
1. How to use react-testing-library everywhere?
2. How to find elements on dom?
3. [Class](https://github.com/jgcmarins/rtl-everywhere/blob/master/examples/src/components/class/__tests__/Class.test.tsx)
4. [Hooks](https://github.com/jgcmarins/rtl-everywhere/blob/master/examples/src/components/hooks/__tests__/Hooks.test.tsx)
5. [How to mock?](https://github.com/jgcmarins/rtl-everywhere/blob/master/examples/src/components/fetch/__tests__/Fetch.test.tsx#L8-L18)
6. [Fetch](https://github.com/jgcmarins/rtl-everywhere/blob/master/examples/src/components/fetch/__tests__/Fetch.test.tsx)#### WIP
7. Relay
8. Apollo
9. Redux
10. React Router
11. Context API
12. React Native### References
- https://github.com/testing-library/react-testing-library
- https://slides.com/rafaelvitor/rtl/
- https://github.com/facebook/jest