React is the worlds most popular frontend library. In this course, Testing in React 18, you’ll learn to add efficient and maintainable automated tests to React applications. First, you’ll explore how to design and build testable React components. Next, you’ll discover how to integrate automated tests with your React project and build tooling. Finally, you’ll learn how to use the React testing library to write tests for React components. When you’re finished with this course, you’ll have the skills and knowledge of React testing needed to confidently ensure the ongoing correctness of your applications.
Overview
React is the worlds most popular frontend library. In this course, Testing in React 18, you’ll learn to add efficient and maintainable automated tests to React applications. First, you’ll explore how to design and build testable React components. Next, you’ll discover how to integrate automated tests with your React project and build tooling. Finally, you’ll learn how to use the React testing library to write tests for React components. When you’re finished with this course, you’ll have the skills and knowledge of React testing needed to confidently ensure the ongoing correctness of your applications.
Syllabus
- Course Overview 1min
- React Testing Primer 15mins
- Creating Testable Components 13mins
- Testing Component Rendering 31mins
- Testing Component Interaction 14mins
- Detecting User Interface Regressions with Snapshot Testing 11mins
- Testing Components That Include useState 9mins
- Testing Components That Include useEffect 12mins
- Testing Integrated Components 14mins
Taught by
Liam McLennan