Files
developer-roadmap/roadmaps/react/content/react-testing-library@cQllxv7qGbRtM9O5llgN6.md

8 lines
620 B
Markdown

# React Testing Library
The React Testing Library is a very lightweight solution for testing React components. It provides light utility functions on top of react-dom and react-dom/test-utils, in a way that encourages better testing practices. Its primary guiding principle is: The more your tests resemble the way your software is used, the more confidence they can give you.
Visit the following resources to learn more:
- [@article@React Testing Library](https://testing-library.com/docs/react-testing-library/intro/)
- [@article@How to use React Testing Library](https://www.robinwieruch.de/react-testing-library/)