Book

Mastering React Test-Driven Development

This book is comprehensive walk through of Test-Driven Development (TDD) for React. It takes a first-principles approach to teach the TDD process using vanilla Jest. Readers build their own test library as they refactor out repeated code in tandem with building a real-world application. It also covers acceptance testing using Cucumber and Puppeteer.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

16h32m

Language

English

About Book

Who Is This Book For?

The target audience for this book is JavaScript developers who are looking to implement test-driven and behavior-driven approaches for their React applications.

Book content

chapters 16h32m total length

First Steps with Test-Driven Development

Test-driving Data Input with React

Exploring Test Doubles

Creating a User Interface

Humanizing Forms

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 Acceptance Test

Adding Features Guided by Acceptance 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