From the course: Building Modern Projects with React
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Testing React ecosystems
From the course: Building Modern Projects with React
Testing React ecosystems
- So far in this course, we've learned about several very important tools in the React Ecosystem that we can use to make the task of building large, complex React applications much easier. However, the one thing we've failed to discuss so far that may have occurred to people for whom testing is an important part of the development workflow is how do we go about testing each of these tools in an effective way? Well, fortunately it's not only possible to test the main ecosystem tools, in most cases it's pretty easy to do so. In the videos that follow, we'll see how to test reducers, thunks, selectors and styled components. We won't be covering how to test the React components themselves, since that's really a huge topic and honestly could take up an entire section or course on its own. And we also won't be testing actions, since in the way that we've written them without any kind of logic whatsoever, they really don't…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.