Learn how to test React components with React Testing Library, the recommended library from Facebook for testing.
Welcome to testing React components with React Testing Library! In this course, you will learn lots of things. You will learn:
You will have all the fundamental tools to test any React component and have that coverage at 100%!
Have fun, and never stop learning!
In the course project, you will read the following material published by Kent C. Dodds: https://kentcdodds.com/blog/common-mistakes-with-react-testing-library
In this blog post, you will see common mistakes that people do when using RTL. You will try to find if I made any of the mistakes shown there and fix them! Even if you don't find any, it will be a great learning because you just learned what things you need to avoid when testing your React code.