- Добавил: literator
- Дата: 27-11-2024, 14:54
- Комментариев: 0
Название: Test-Driven React: Find Problems Early, Fix Them Quickly, Code with Confidence, 2nd Edition
Автор: Trevor Burnham
Издательство: Pragmatic Bookshelf
Год: September 2024 (Version: P1.0)
Страниц: 174
Язык: английский
Формат: pdf, epub
Размер: 10.1 MB
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. This book will introduce you to a TDD workflow suited to React development. That means taking full advantage of the extensive range of tools that have joined the jаvascript ecosystem in the last few years: Jest, TypeScript, ESLint, Prettier, and more. Used properly, these tools will give you the feedback you need to rapidly write code that’s both readable and reliable. In this chapter, you’ll build a simple jаvascript project using a test-driven approach. With Jest as your test framework, you’ll be able to create a lightning-fast feedback loop. You'll need a working knowledge of jаvascript or TypeScript, and a computer running macOS, Windows, or Linux.
Автор: Trevor Burnham
Издательство: Pragmatic Bookshelf
Год: September 2024 (Version: P1.0)
Страниц: 174
Язык: английский
Формат: pdf, epub
Размер: 10.1 MB
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. This book will introduce you to a TDD workflow suited to React development. That means taking full advantage of the extensive range of tools that have joined the jаvascript ecosystem in the last few years: Jest, TypeScript, ESLint, Prettier, and more. Used properly, these tools will give you the feedback you need to rapidly write code that’s both readable and reliable. In this chapter, you’ll build a simple jаvascript project using a test-driven approach. With Jest as your test framework, you’ll be able to create a lightning-fast feedback loop. You'll need a working knowledge of jаvascript or TypeScript, and a computer running macOS, Windows, or Linux.