Book

Mastering React Test-Driven Development

With this book, you’ll learn how to apply the test-driven development workflow when building React applications. You’ll focus on techniques and patterns for writing great automated tests with the Jest test framework. These tests will help you build simple, elegant React codebases that easily adapt to future modifications.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

18h48m

Language

English

About Book

Who Is This Book For?

This book is for frontend developers who are looking to improve their testing practices and increase the quality and maintainability of their applications. To make the most of this book, you’ll need knowledge of the JavaScript programming language.

Book content

chapters 18h48m total length

First Steps with Test-Driven Development

Rendering Lists and Detail Views

Refactoring the Test Suite

Test-Driving Data Input

Adding Complex Form Interactions

Exploring Test Doubles

Testing useEffect and Mocking Components

Building an Application Component

Form Validation

Filtering and Searching Data

Test-Driving React Router

Test-Driving Redux

Test-Driving GraphQL

Building a Logo Interpreter

Adding Animation

Working with WebSockets

Writing Your First Cucumber Test

Adding Features Guided by Cucumber Tests

Understanding TDD in the Wider Testing Landscape

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required