Test-Driven Development with React and TypeScript
Apress (Verlag)
978-1-4842-9647-9 (ISBN)
lt;p>Apply test-driven principles to create scalable and maintainable React applications. This book covers a wide range of topics, including setting up a testing environment and utilizing popular testing frameworks like Cypress, Jest, and the React Testing Library. It also delves into valuable refactoring techniques, as well as enhancing code maintainability and readability. What sets this comprehensive guide apart is its end-to-end project simulation, showcasing how TDD can be employed to build a complete application called "Bookish."
Test-Driven Development with React and TypeScript elevates its code examples by leveraging TypeScript, the predominant language in modern frontend development, offering you a deeper understanding of how TDD principles can be applied to React projects. Furthermore, all code examples have been carefully revised and updated for this edition, incorporating reader feedback and reflecting current industry standards.
After completing this book, you have the knowledge and skills necessary to develop high quality and scalable React applications.
What You Will Learn
- Master essential refactoring techniques to enhance code quality
- Employ modern practices for writing maintainable React code, including testing and product implementation
- Gain practical experience applying test-driven development (TDD) principles to real-world projects
- Craft high quality, scalable, and maintainable React applications using TDD principles and techniques
Who This Book Is For
Web application developers who wants to learn how to write high quality code using test-driven development.Juntao Qiu is an accomplished software developer renowned for his expertise in producing high-quality and easily maintainable code. He is committed to helping individuals improve their code-writing abilities, and generously shares his vast knowledge and experience through multiple platforms, including books such as this one and Maintainable React (Leanpub, 2022). In addition, Juntao hosts a YouTube channel where he provides valuable insights, tips, and best practices for writing clean code and performing refactoring. Juntao's goal is to empower developers, enabling them to reach their full potential and have a positive impact on the software development industry.
Chapter 1. A Very Brief History of 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.-Chapter 11: Refactoring Techniques Appendix A: Design the State Data Shape of Your Application.- Appendix B: Background of Testing Strategies.-Appendix C: Typescript
Erscheinungsdatum | 12.08.2023 |
---|---|
Zusatzinfo | 34 Illustrations, black and white; XXIV, 263 p. 34 illus. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 155 x 235 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Mathematik / Informatik ► Informatik ► Web / Internet | |
Schlagworte | acceptance testing driven development • BDD • cucumber • cypress • end-to-end testing • Jest • react • redux • refactor • TDD • Test-Driven Development |
ISBN-10 | 1-4842-9647-8 / 1484296478 |
ISBN-13 | 978-1-4842-9647-9 / 9781484296479 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich