Testing React with Jest and React Testing Library (RTL)
Learn best practices for testing your apps with Jest and React Testing Library!
Created by Bonnie Schulkin | 7.5 hours on-demand video course
React Testing Library has become an extremely popular option for testing React, and with good reason! This detailed, comprehensive course provides a solid foundation for React app tests. React Testing Library is famously opinionated about testing best practices, and is written to encourage these best practices. The course apps start very with very simple examples (clicking a button to change its color) and work up to progressively more complicated testing concepts
What you’ll learn
- Testing simple and complex React applications with React Testing Library
- React Testing best Practices: how to test behavior instead of implementation
- Making the most of Jest watch mode, including running only one file or test at a time
- Common errors returned by Testing Library and how to correct them
Recommended Course