The React and Redux Unit Testing training course brings students up to speed with unit testing React/Redux JavaScript applications.
The course begins with students using Facebook's popular Jest unit testing framework to explore the concepts and best practices of unit testing through coding unit tests for React components and Redux parts. The course will then explore how to organize test suites, tests, and use spies and assertions to validate that code is executing as expected. Using the Enzyme library, all three approaches to testing React components will be covered: snapshot testing, Document Object Model (DOM) testing, and shallow testing. The course will conclude with a Redux lesson on testing reducers, action, mapping functions and asynchronous code with thunk and sagas will be covered.
Prior working knowledge and practical experience of Modern JavaScript, React and Redux are assumed for this course.
Purpose
|
Learn how to unit test with React/Redux JavaScript applications. |
Audience
|
Web developers wanting to learn how to unit test React/Redux JavaScript applications. |
Role
| Web Developer |
Skill Level
| Advanced |
Style
| Targeted Topic - Workshops |
Duration
| 2 Days |
Related Technologies
| JavaScript | Redux | React |
Productivity Objectives
- Complete unit testing of synchronous and asynchronous JavaScript code
- Complete unit testing of React Components with Enzyme
- Complete unit testing of Redux Code including Thunks and Sagas
- Describe best practices and patterns for coding unit tests