Testing React and Redux Applications - Unit and Integration

Learn how to write quality tests for React and Redux applications using Enzyme, jsdom, and React testing library

4.25 (139 reviews)
Udemy
platform
English
language
Software Engineering
category
Testing React and Redux Applications - Unit and Integration
689
students
3.5 hours
content
Dec 2020
last update
$39.99
regular price

What you will learn

React

Redux

Unit Testing

Integration Testing

Enzyme

React Testing Library

DOM Integration Testing

Description

This course will give you the skill set that you would need to write high quality tests for your React Redux application. The course will cover writing unit tests for react components, unit tests for action creators, unit tests for reducers, integration tests for the Redux store, and full DOM integration tests using libraries such as Enzyme, React Testing Library, and jsdom. You will also learn how to run these tests using the Jest framework.

Content

Introduction

Introduction

Environment Setup

Setting up our developer environment

React Redux Sample Application Overview

Sample application source code
Application walk through: UI
Application walk through: Code

Unit Tests for React Components

Creating our first test file
Installing Enzyme testing utility
First unit test for React component
Unit test for React components: Part 2
Unit test for React components: Part 3
Setup and Tear down
Unit tests for Styling and Business logic

Action Creators

Unit tests for action creators

Unit Tests for Reducers

Quick Recap
Reducer unit tests
Introduction to Integration tests
Integration tests for Redux Store
Integration tests for Redux Store: Part 2
Installig React testing library and jsdom
Full DOM Integration Tests

Next Steps

Next steps and recommendations

Reviews

cris
December 7, 2020
I expected something deeper and more professional, with Typescript and an example more async with fetch and post APIs
Daniel
October 5, 2020
The basic concepts are covered. This knowledge will help to move forward to learn and master when every required
Maggie
September 5, 2020
what was being covered was pretty clear. so quality wise, it was pretty good. however, I was hoping to see more in-depth content. I still have to check out other people's tutorials on testing.
Rishad
August 23, 2020
Great start for beginners of testing. I would have liked a bit more depth on WHY and not only HOW. But this was one of the few courses that I followed right through the end and could follow along successfully by coding alongside the instructor.
Jesse
August 20, 2020
The course could have used an example of mount(), or at least more details on when you should use it. At one point the instructor says to use the appropriate method, but didn't equip us to make that decision. The promoting of copy/paste throughout, I think, was bad practice and it led to failing tests more than once. Overall, I walked away with an understanding of how to apply my existing knowledge to Jest and Enzyme, so it was worth it for me.
Estevan
July 24, 2020
The course was great. Learned a lot from it, I kind of missed some "how to mock libs" if we have it. Overall I recommend this course for sure.
Muntasir
May 25, 2020
This was a great course that 1) introduced me to unit and integration testing in general and 2) allowed me to get hands-on with various testing libraries to test React and Redux applications. The instructor was thorough and explained the concepts really well. He also took the time to show us how to navigate the relevant API documentations to look up concepts for issues that may arise now and potentially in the future. Overall, a short but sweet course that is on-point with the delivery. Thanks a lot!
Dean
April 10, 2020
I've done a lot of test tutorials. This one is amazingly clear and concise. Starting a new job Momday. Thank goodness I took this course first.
Donato
April 7, 2020
Good for beginners..and I learned something that I really needed to learn at this point. I definitely could learn more advanced topics and I think the instructor would be a great teacher to teach more advanced topics too! Thanks for this course!

Charts

Price

Testing React and Redux Applications - Unit and Integration - Price chart

Rating

Testing React and Redux Applications - Unit and Integration - Ratings chart

Enrollment distribution

Testing React and Redux Applications - Unit and Integration - Distribution chart
2779476
udemy ID
1/26/2020
course created date
2/8/2020
course indexed date
Bot
course submited by