- eBook:Test-Driven Development with React: Apply Test-Driven Development in Your Applications
- Author:Juntao Qiu
- Edition:1 edition
- Data:June 17, 2021
- Pages:218 pages
- Format:PDF, ePUB
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 jаvascript 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
Ideal for web application developers who wants to learn how to write high quality code using Test-Driven Development.
Chapter 2: Get Started with Jest
Chapter 3: Test-Driven Development 101
Chapter 4: Project Setup
Chapter 5: Implementing the Book List
Chapter 6: Implementing the Book Detail View
Chapter 7: Searching by Keyword
Chapter 8: State Management
Chapter 9: Managing Book Reviews
Chapter 10: Behavior-Driven Development