Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
The React Testing Library Bootcamp - The Developer Guide
Rating: 4.6 out of 5(380 ratings)
1,784 students

The React Testing Library Bootcamp - The Developer Guide

Learn how to test your React application with React Test Library and Jest
Created byLaith Harb
Last updated 12/2021
English

What you'll learn

  • Learn the importance's and power of testing your React application
  • Learn the best practices when writing tests with RTL and Jest
  • Test real life application with a test driven development approach
  • Deal with difficult problems like nested queries and mocking HTTP requests

Course content

9 sections56 lectures4h 58m total length
  • What Is Testing and Why Do We Care3:18

    Learn what testing is and why we care, from software to products like mattresses and cars. See how testing increases confidence and reliability by meeting expected requirements and reducing defects.

  • Manual vs Automated Testing7:39
  • Test Driven Development2:55

Requirements

  • The basics of React

Description

React testing library is the most popular tool to test your React application. It is extremely simple and intuitive to use but the outcomes are very powerful. It helps increase confidence in your React application and thus when it is shipped to production, your end-users will have a bug-free experience. This course will teach you everything you need to learn to start utilizing this popular library. So hope on in and enjoy the ride.


What you will learn

- The best practice of how to test with React Testing Library

- The importance of testing

- Testing component that make HTTP requests

- Mocking requests with Mock Service Worker

- Finding the right element in your component

- Dealing with the context API in your tests


Engaging content

You don't just code along in this course, but you also apply what you learn with engaging course assignments. After learning a concept, you will then be prompted to use what you learned in a coding challenge. These coding challenges will help you internalize React Testing Library in your mind. It is highly recommended to actually do the challenges rather than treating them as a code along.


Instructor support

I will always do my best to answer any questions in the Q&A section of the course. You can also reach out to me on YouTube or Twitter.

Who this course is for:

  • This course if for React developer that want to learn how to test their app