Book description
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.
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
Product information
- Title: Test-Driven Development with React: Apply Test-Driven Development in Your Applications
- Author(s):
- Release date: May 2021
- Publisher(s): Apress
- ISBN: 9781484269725
You might also like
book
React: Up & Running, 2nd Edition
Hit the ground running with React, the open source technology from Facebook for building rich web …
book
React Projects
Build cross-platform applications of varying complexity for the web, mobile, and VR devices using React tooling …
video
Test-Driven Development for JavaScript
10+ Hours of Video Instruction Learn How to Use Test-Driven Development Techniques to Create High-Quality JavaScript …
book
Practical Enterprise React: Become an Effective React Developer in Your Team
Learn to write a real-world enterprise app using the fundamentals of React and the most popular …