Information Technology
Hands on Training icon
Hands On Training
Hands on Training icon

Testing React Apps with React Testing Library

Course Cover

5

(1)

compare button icon

Course Features

icon

Duration

2.61 hours

icon

Delivery Method

Online

icon

Available on

Lifetime Access

icon

Accessibility

Desktop, Laptop

icon

Language

English

icon

Subtitles

English

icon

Level

Intermediate

icon

Teaching Type

Self Paced

icon

Video Content

2.61 hours

Course Description

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 Development Know 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 Jet works with RTL How to test with RTL and query elements with:get By, queryBy, findBy, getAllBy, queryAll, findAllBy How to simulate user interaction with the fireEvent API How to simulate user interaction with the userEvent API Testing components in isolation (unit tests)Learn about coverage and debugging How to mock 3rd party libraries like Axios and mock a GET request Learn 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!

Course Overview

projects-img

International Faculty

projects-img

Post Course Interactions

projects-img

Instructor-Moderated Discussions

Skills You Will Gain

Prerequisites/Requirements

No

Basic React Knowledge

What You Will Learn

Cross-cutting Tools (logging and testing)

Caveats in usage of lists

Intermediate Python concepts such as decorators, generators, context managers

Parallel programming, multithreading, synchronization, locks

Asynchronous programming (asyncio)

Plotting data

Course Instructors

Author Image

Mohammad Nauman

Instructor

I have a PhD in Computer Sciences and a PostDoc from the Max Planck Institute for Software Systems. I have been programming since early 2000 and have worked with many different languages, tools and p...
Course Cover