Test-Driven React, Second Edition

Find Problems Early, Fix Them Quickly, Code with Confidence

by: Trevor Burnham

Published 2024-09-20
Internal code tbreact2
Print status In Print
Pages 172
User level Intermediate
Keywords React, Test-Driven, TDD, testing, web programming, web development, web frameworks, Jest, VS Code, Enzyme, JavaScript, Travis CI
Related titles

react for real

ISBN 9798888650653
Other ISBN
BISACs COM060160
COM051260
COM051260

Highlight

Turn your React project requirements into tests and get the feedback you need faster than ever before. Combine the power of testing, linting, and typechecking directly in your coding environment to iterate on React components quickly and fearlessly!

Description

You work in a loop: write code, get feedback, adjust. The faster you get feedback, the faster your code improves and the more effective you become as a developer. And that feedback comes from testing.

The conceptual elegance of React has opened the door to a new generation of web testing: clear, expressive, and lightning fast. That makes React a perfect fit for test-driven development (TDD), a methodology in which tests are a blueprint instead of an afterthought.

Each chapter presents new projects to challenge you and new tools to help you:

The second edition of Test-Driven React has been extensively revised to reflect the latest tools and techniques for React development, including TypeScript. Each chapter presents new projects to challenge you and new tools to help you detect and fix bugs in your code.

Contents and Extracts