1. 16
    Intermission Pep Talk - Testing Redux Applications
    55s

Intermission Pep Talk - Testing Redux Applications

Jamund Ferguson
InstructorJamund Ferguson
Share this video with your friends

Social Share Links

Send Tweet
Published 3 years ago
Updated 2 years ago

Jamund Ferguson: Hey, Jamund here. Just wanted to take a minute to check in and say what an amazing job you're all doing. If you take a look at our code coverage for the Redux code, it's now all at 100 percent.

Every line, every function, every branch and every statement, both for the productsSlice and if you go into cartSlice, you'll see the exact same thing.

If you go into the test code you've written, you can see that we've covered a huge area, including testing selectors, testing reducers and testing thunks, using multiple techniques.

We've also written helper functions for generating state and building custom Redux stores. We've learned how to mock APIs using jest.mock.

If you're doing this all at one time, take a minute to regroup. Grab a drink of water. Go for a walk. Maybe think about some of the things you've learned and how you might apply them to your other projects.

Then, when you're ready, come and join me for the second part of this course on testing Redux-connected components. I look forward to seeing you there.

egghead
egghead
~ 47 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today