Test Driven React


Download Test Driven React PDF/ePub or read online books in Mobi eBooks. Click Download or Read Online button to get Test Driven React book now. This website allows unlimited access to, at the time of writing, more than 1.5 million titles, including hundreds of thousands of titles in various foreign languages.

Download

Test-Driven React


Test-Driven React

Author: Trevor Burnham

language: en

Publisher:

Release Date: 2019


DOWNLOAD





Test-driven development with Jest -- Integrated tooling with VS Code -- Testing React with Enzyme -- Styling in JavaScript with Styled-components -- Refactoring with higher-order components -- Continuous integration and collaboration.

Test-Driven Development with React


Test-Driven Development with React

Author: Juntao Qiu

language: en

Publisher:

Release Date: 2021


DOWNLOAD





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. You will: 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.

Test-Driven React


Test-Driven React

Author: Trevor Burnham

language: en

Publisher: The Pragmatic Programmers LLC

Release Date: 2024-09-18


DOWNLOAD





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.