Test-Driven Development with React: Apply Test-Driven Development in Your Applications

  • 1h 48m
  • Juntao Qiu
  • Apress
  • 2021

Learn to use accelerated test-driven development (TDD) to build a React application from scratch. This book explains how your React components will be integrated, and how to refactor code to make it more concise and flexible.

With TDD you can develop a robust test suite to catch bugs, and develop modular, flexible code. Applying your understanding of how HTML, CSS, and JavaScript work in the browser you'll build a web application called Bookish using TDD and mainstream React stack technologies such as React, React-router, and Redux.

Using higher code quality you'll be able to write executable documentation using Cucumber. This is just one of many essentials in maintaining a practical TDD workflow in your daily workload. Test-Driven Development with React highlights best practices and design patterns that will enable you to write more maintainable and reusable React components.

What You'll Learn

  • Manage your application’s state using Redux
  • Employ professional techniques for backend services
  • Use Cypress as an end-to-end testing framework
  • Utilize React-testing-library for unit and integration tests

Who This Book Is For

Ideal for web application developers who wants to learn how to write high quality code using Test-Driven Development.

In this Book

  • A Very Brief History of Test-Driven Development
  • Get Started with Jest
  • Test-Driven Development 101
  • Project Setup
  • Implementing the Book List
  • Implementing the Book Detail View
  • Searching by Keyword
  • State Management
  • Managing Book Reviews
  • Behavior-Driven Development

YOU MIGHT ALSO LIKE

Rating 4.6 of 68 users Rating 4.6 of 68 users (68)
Rating 4.3 of 63 users Rating 4.3 of 63 users (63)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.1 of 87 users Rating 4.1 of 87 users (87)
Rating 4.5 of 307 users Rating 4.5 of 307 users (307)