Description

Take your React code to the next level by learning Test Driven Development (TDD) with Jest and Enzyme! Jest is a powerful, flexible testing framework, and Enzyme provides tools to test React and Redux applications. In this course, you will learn to test:Connected and unconnected componentsComponent state and Redux stateAction creators and reducersComplex action creators that use Redux Thunk and AxiosAction creators called from connected componentsReact hooks, including useEffect, useState and useReducerReact context, including context with embedded stateUsing Jest mock functions to spy on methods, control their return values or simply prevent them from running during the testPlease Note: This course does not cover Jest snapshots, as they are not compatible with the TDD mode of testing.Why Learn to Test?Test Driven Development will help you write better organized code thats easier to maintain, which will save you time in the long run. Your tests provide value to your software development team, since others know they can rely on your code. Employers want developers with testing skills!Learn the Reasons behind the SyntaxThis course discusses tradeoffs when considering different approaches to testing, leaving you confident in the testing choices you make. Furthermore, you will deepen your understanding of React and Redux as we dig into how and why we test each aspect.Practice your New SkillsYou will also have opportunities to practice what youve learned. There are occasional quizzes while were building the course projects, where you can apply what you learned, and then watch a video to see the solution. There are also two sets of challenges to extend the course projects, with solutions on GitHub.