Testing React apps with React Testing Library (RTL)
About this course
Welcome to testing React components with React Testing Library! In this course, you will learn lots of things. You will learn:The principles of Test Driven DevelopmentKnow what is React Testing Library (RTL) and its differences with Enzyme (another popular test framework for React)Understand how Create React App (CRA) works.Understand how Jest works with RTLHow to test with RTL and query elements with:getBy, queryBy, findBy, getAllBy, queryAllBy, findAllByHow to simulate user interaction with the fireEvent APIHow to simulate user interaction with the userEvent APITesting components in isolation (unit tests)Learn about coverage and debuggingHow to mock 3rd party libraries like Axios and mock a GET requestLearn about the pitfalls of CRAYou will have all the fundamental tools to test any React component and have that coverage at 100%!Have fun, and never stop learning!
Price shown by Udemy — confirm on their site.
Enroll on UdemyYou'll be redirected to Udemy to complete enrollment.
- Listed & compared by CourseAsk
- English · All Levels
More courses like this
Master Asynchronous JavaScript for Interview Success
Udemy · MOOC / Non-credit
HTML&CSS Tutorial and Projects Course (Flexbox&Grid)
Udemy · MOOC / Non-credit
(2023) +50 Farklı Web Geliştirme Uygulaması -HTML- CSS - JS
Udemy · MOOC / Non-credit
Houdini FX Mastery: From Basics to Advanced Techniques
Udemy · MOOC / Non-credit
More courses from Udemy
CCP Certified Cost Professional Exam Prep: Videos + Exams
Udemy · MOOC / Non-credit
CompTIA SecAI+ - 1500 MCQs
Udemy · Certificate
AI-103: Azure AI App & Agent Developer Associate EXAMS 2026
Udemy · Certificate
Google Cloud Generative AI Leader Practice Exams + Answers
Udemy · Certificate