Advanced React Testing: Redux Saga and React Router (Udemy.com)
Level-up your React testing skills to include Redux Saga, React Router and Auth-Protected Routes!
Created by: Bonnie Schulkin
Last updated September 2023
What you will learn
- Test Redux Sagas with redux-saga-test-plan integration and unit tests
- Create a custom React Testing Library `render` method for Redux store and React Router history
- Test React Router navigation, including routes with URL params and query params
- Test auth-protected routes in React apps that use React Router
- Use Mock Service Worker to mock network responses during tests
- Use Jest's .each() method to parametrize tests (run the same test multiple times with different data)
How it compares
Against the other 173 rated Udemy courses in React on CourseDuck:
- Rating4.6 out of 5higher than 71% of them
- Reviews182#135 of 174 by number of reviews
- Length6.8 hoursshorter than 71% of them
- Last updatedSeptember 2023earlier than 56% of them
Course Description
Are you a developer who's learned the basics of React testing and wants to move to the next level? This course dives deep into React testing for sophisticated apps.
Test Redux Saga, React Router or Both
The Redux Saga and React Router sections of the course are completely separate. You can choose which technology to start with, and skip the sections for technologies that aren't relevant to your app.
Test an Existing App
The app for the course is already built, so you'll be testing an existing app that utilizes Redux Saga and React Router (with Auth-Protected Routes). For an added bit of fun, the app is for a music venue that sells tickets to shows for fake bands, complete with fake band names, plus randomized band descriptions and photos.
redux-saga-test-plan
Test Redux Sagas with the redux-saga-test-plan library, a powerful module that allows flexible integration testing and precise unit testing. The course covers the `provide()` method for static and dynamic effect mocking.
React Router
The course creates a custom `render` method for Testing Library to write tests that can assert either on page behavior or the React Router `history` object. Tested routes include URL and query params, and the flow for auth-protected routes (including removing the sign-in page from the history). Mock Service Worker provides mocked data for network calls to the server.
Jest's test.each()
In both the Redux Saga sections and the React Router sections, the course teaches Jest's test.each() method for parametrizing tests (that is running the same test multiple times with different data).
TypeScript
Following modern JavaScript best practices, all course code is typed via TypeScript.
Proven Instructor
The instructor for this course has been writing courses for Udemy since 2018, and has a great track record of courses that are clear and easy to follow. She loves interacting with students via Q&A and has a calm, supportive teaching style.
Instructor Details
- 4.6 Rating
182 Reviews
Bonnie Schulkin
My teaching career started when I played school with my (not very willing) younger brother as a kid. I gradually expanded my horizons to teaching (marginally) more willing high school students, and more recently have taught software development at various boot camps to delightfully willing adults. I have been working in the software industry on and off since the mid-90s, which predates the birth of many coders in the San Francisco tech scene(!).
More courses by Bonnie Schulkin
Testing Next.js Apps with Jest, Testing Library and Cypress (2024)
4.4 (412 Reviews)
Provider: Udemy
Time: 8h
$84.99
【한글자막】 React Query / TanStack Query : React로 서버 상태 관리하기 (2024)
4.8 (350 Reviews)
Provider: Udemy
Time: 7.1h
$64.99
【한글자막】 Jest / Vitest 를 활용한 React 테스팅 라이브러리 (2024)
4.7 (179 Reviews)
Provider: Udemy
Time: 7.3h
$64.99
More React courses
Microservices with Node JS and React (2026)
4.8 (20,187 Reviews)
Provider: Udemy
Time: 54.4h
$139.99
Learn to build an e-commerce store with .Net, React & Redux (2026)
4.8 (2,218 Reviews)
Provider: Udemy
Time: 29.6h
$94.99
Next JS & WordPress: Build rapid NextJS sites with Next & WP (2026)
4.8 (462 Reviews)
Provider: Udemy
Time: 8.4h
$74.99
Build Polymorphic Components with React and Typescript (2022)
4.8 (223 Reviews)
Provider: Udemy
Time: 2.3h
$69.99
Next JS ChatGPT clone with Next.JS & OpenAI (NextJS 13 2023)
4.8 (172 Reviews)
Provider: Udemy
Time: 4.6h
$89.99
The Ultimate React Course 2025: React, Next.js, Redux & More
4.7 (27,027 Reviews)
Provider: Udemy
Time: 83.9h
$99.99
Reviews
By Daniel Hauptfleisch on 8/30/2024
The course in-depth and super well taught, I'm loving it :)
By Roman Tarnakin on 1/18/2023
A very good course and the lector definitely has got talent in putting information inside student's head!
By Fabio Na on 9/29/2022
this is a must have. well explained from the start, even if this course are not for complete beginner. It's been a pleasure
By Davor Jovanovic on 8/4/2022
Bonnie is a great instructor. Very valuable teachings from her during this course. This course is worth every penny and is highly recommended. Thank you!
By Paulo Igor de Lima Ventura on 7/8/2022
bonnie's just great
By Kristofer Jermolov on 7/8/2022
After searching for some time this course seams like right choice to learn how Jest, react testing library with redux, react and react-router can be all combined into unit tests
By Erkan D. on 6/18/2022
Thank you, Bonnie. I think you are the one of the best instructors of Udemy.
By Rob on 6/3/2022
Your courses are never a disappointment, a year after I took your basic React testing, I'm back for a more advanced one.
By Guilherme Fünkler Borelli on 2/12/2022
Great content, but because of some little mistakes the course requires attention from the student, but overall the course is really good and really gives what it promises, really good!
By Anonymized User on 9/14/2023
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 92 / 100










