Test-Driven React, Second Edition
Find Problems Early, Fix Them Quickly, Code with Confidence
Seiten
2024
|
2nd edition
The Pragmatic Programmers (Verlag)
979-8-88865-065-3 (ISBN)
The Pragmatic Programmers (Verlag)
979-8-88865-065-3 (ISBN)
Turn your React project requirements into tests and get the feedback you need faster than ever before. Combine the power of testing, linting, and typechecking directly in your coding environment to iterate on React components quickly and fearlessly!
You work in a loop: write code, get feedback, adjust. The faster you get feedback, the faster your code improves and the more effective you become as a developer. And that feedback comes from testing.
The conceptual elegance of React has opened the door to a new generation of web testing: clear, expressive, and lightning fast. That makes React a perfect fit for test-driven development (TDD), a methodology in which tests are a blueprint instead of an afterthought.
Each chapter presents new projects to challenge you and new tools to help you:
Write fast, easy-to-understand tests with Vitest and React Testing Library.
Keep your code tidy with ESLint and Prettier.
Perform every task you need from a single window within VS Code.
See your test output directly in your code with Wallaby.
Style components in a test-friendly way with styled-components.
Stay focused on what's important by running your tests continuously in the background.
Generate beautiful documentation with Storybook, and update it on every commit with GitHub Actions.
The second edition of Test-Driven React has been extensively revised to reflect the latest tools and techniques for React development, including TypeScript. Each chapter presents new projects to challenge you and new tools to help you find and fix type errors without even running your code.
What You Need:
You'll need a working knowledge of JavaScript or TypeScript, and a computer running macOS, Windows, or Linux.
You work in a loop: write code, get feedback, adjust. The faster you get feedback, the faster your code improves and the more effective you become as a developer. And that feedback comes from testing.
The conceptual elegance of React has opened the door to a new generation of web testing: clear, expressive, and lightning fast. That makes React a perfect fit for test-driven development (TDD), a methodology in which tests are a blueprint instead of an afterthought.
Each chapter presents new projects to challenge you and new tools to help you:
Write fast, easy-to-understand tests with Vitest and React Testing Library.
Keep your code tidy with ESLint and Prettier.
Perform every task you need from a single window within VS Code.
See your test output directly in your code with Wallaby.
Style components in a test-friendly way with styled-components.
Stay focused on what's important by running your tests continuously in the background.
Generate beautiful documentation with Storybook, and update it on every commit with GitHub Actions.
The second edition of Test-Driven React has been extensively revised to reflect the latest tools and techniques for React development, including TypeScript. Each chapter presents new projects to challenge you and new tools to help you find and fix type errors without even running your code.
What You Need:
You'll need a working knowledge of JavaScript or TypeScript, and a computer running macOS, Windows, or Linux.
Trevor Burnham is an engineer at HubSpot in Cambridge, MA. His previous books include CoffeeScript and Async JavaScript, both published by PragProg.
Erscheinungsdatum | 19.09.2024 |
---|---|
Verlagsort | Raleigh |
Sprache | englisch |
Maße | 191 x 235 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Informatik ► Software Entwicklung ► Qualität / Testen | |
Mathematik / Informatik ► Informatik ► Web / Internet | |
ISBN-13 | 979-8-88865-065-3 / 9798888650653 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
Aus- und Weiterbildung zum Certified Tester – Foundation Level nach …
Buch | Hardcover (2024)
dpunkt (Verlag)
39,90 €
Die Softwaretest-Normen verstehen und anwenden
Buch | Hardcover (2024)
dpunkt (Verlag)
44,90 €
Methoden und Techniken für Softwarequalität in der agilen Welt
Buch | Hardcover (2023)
dpunkt (Verlag)
39,90 €