
Test-Driven Development with React
Apply Test-Driven Development in Your Applications
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
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 stateusing 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.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Cover
- Front Matter
- 1.Ā A Very Brief History of Test-Driven Development
- 2.Ā Get Started with Jest
- 3.Ā Test-Driven DevelopmentĀ 101
- 4.Ā Project Setup
- 5.Ā Implementing the Book List
- 6.Ā Implementing the Book Detail View
- 7.Ā Searching by Keyword
- 8.Ā State Management
- 9.Ā Managing Book Reviews
- 10.Ā Behavior-Driven Development
- Back Matter