Published on

How to Test Redux Consuming React Components

2 min read | 273 words
Authors
feedback web form

Intro

Testing React components that consume Redux may seem tricky at first glance. In this short, four video tutorial, we'll learn how to create a custom render method to use in our test cases. # Summary

Part 1

In part 1 of the series, we will learn about the Retail Store app and how it is connected to Redux:

Part 2

In part 2 of the series, we will analyze problems with testing redux consuming components:

Part 3

In part 3 of the series, we will create the custom render method to use in our tests:

Part 4

In the last part of the series, we will use the custom render method in our test case:

Summary

In summary, we learned how to create a custom render method to test Redux consuming React components. If you want the source code, check out my book here that explains this example in more detail and numerous other criteria.