Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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