
Simplify Testing with React Testing Library: Create maintainable tests using RTL that do not break with changes, (Paperback)
Key item features
- Simplify Testing with React Testing Library: Create maintainable tests using RTL that do not break with changes, (Paperback)
- Author: Packt Publishing
- ISBN: 9781800564459
- Format: Paperback
- Publication Date: 2021-05-14
- Page Count: 246
Specs
Author, Packt Publishing
Book format, Paperback
Genre, Computing & Internet
Pages, 246
Age group, Adult
About this item
Product details
A fast-paced, practical guide to helping you leverage React Testing Library to test the DOM output of components
Key Features:
- Get to grips with React Testing Library and create tests that don't break with changes in implementation
- Learn how to put RTL into practice by implementing it in real-world scenarios
- Test apps to be more accessible and ensure your tests will work with actual DOM nodes
Book Description:
React Testing Library (RTL) is a lightweight and easy-to-use tool for testing the document object model (DOM) output of components. This book will show you how to use this modern, user-friendly tool to test React components, reducing the risk that your application will not work as expected in production.
The book demonstrates code snippets that will allow you to implement RTL easily, helping you to understand the guiding principles of the DOM Testing Library to write tests from the perspective of the user. You'll explore the advantages of testing components from the perspective of individuals who will actually use your components, and use test-driven development (TDD) to drive the process of writing tests. As you advance, you'll discover how to add RTL to React projects, test components using the Context API, and also learn how to write user interface (UI) end-to-end tests using the popular Cypress library. Throughout this book, you'll work with practical examples and useful explanations to be able to confidently create tests that don't break when changes are made.
By the end of this React book, you will have learned all you need to be able to test React components confidently.
What You Will Learn:
- Explore React Testing Library and its use cases
- Get to grips with the RTL ecosystem
- Apply jest-dom to enhance your tests using RTL
- Gain the confidence you need to create tests that don't break with changes using RTL
- Integrate Cucumber and Cypress into your test suite
- Use TDD to drive the process of writing tests
- Apply your existing React knowledge for using RTL
Who this book is for:
This book is for software engineers, quality engineers and React developers who want to learn about modern practices used for testing React components using the latest testing tool, RTL. Basic knowledge of React development is required to get the most out of this book.
- Simplify Testing with React Testing Library: Create maintainable tests using RTL that do not break with changes, (Paperback)
- Author: Packt Publishing
- ISBN: 9781800564459
- Format: Paperback
- Publication Date: 2021-05-14
- Page Count: 246
Specifications
Publication date
Author
Book format
Genre
Warranty
Warranty information
Similar items you might like
Automated Unit Testing with ABAP: A Practical Approach, (Paperback) $42.01
$4201current price $42.01Automated Unit Testing with ABAP: A Practical Approach, (Paperback)
Mathcounts Competition Practice Tests Twenty Mock Mathcounts Target Round Tests, Book 4, (Paperback) $28.63
$2863current price $28.63Mathcounts Competition Practice Tests Twenty Mock Mathcounts Target Round Tests, Book 4, (Paperback)
Web Testing with Cypress: Run End-to-End tests, Integration tests, Unit tests across web apps, browsers and cross-platforms (English Edition) (Paperback) $34.64
$3464current price $34.64Web Testing with Cypress: Run End-to-End tests, Integration tests, Unit tests across web apps, browsers and cross-platforms (English Edition) (Paperback)
HSPT Practice Tests: 5 Full-Length HSPT Tests with 1,500 Questions, Answer Explanations and Performance Tracking Sheets, (Paperback) $32.99
$3299current price $32.99HSPT Practice Tests: 5 Full-Length HSPT Tests with 1,500 Questions, Answer Explanations and Performance Tracking Sheets, (Paperback)
Lessons Learned in Software Testing: A Context-Driven Approach, (Paperback) $39.72
$3972current price $39.72Lessons Learned in Software Testing: A Context-Driven Approach, (Paperback)
Modularizing Legacy Projects Using Tdd: Test-Driven Development with Xctest for IOS, (Paperback) $36.32
$3632current price $36.32Modularizing Legacy Projects Using Tdd: Test-Driven Development with Xctest for IOS, (Paperback)
Ultimate React Testing with Jest: Build Reliable Web Applications Using React Testing Library, Modern Testing Patterns, , (Paperback) $37.95
$3795current price $37.95Ultimate React Testing with Jest: Build Reliable Web Applications Using React Testing Library, Modern Testing Patterns, , (Paperback)
Angry Tests Angry Tests, Book 1, (Paperback) $40.96
$4096current price $40.96Angry Tests Angry Tests, Book 1, (Paperback)
Pragmatic Unit Testing in C# with Nunit (Edition 2) (Paperback) $6.52
$652current price $6.52Pragmatic Unit Testing in C# with Nunit (Edition 2) (Paperback)
Test Automation using HP Unified Functional Testing: Explore latest version of QTP (Paperback) $36.69
$3669current price $36.69Test Automation using HP Unified Functional Testing: Explore latest version of QTP (Paperback)
MTTC Computer Science - Test Taking Strategies, (Paperback) $21.80 Was $34.99
$2180current price $21.80, Was $34.99$34.99MTTC Computer Science - Test Taking Strategies, (Paperback)
Svelte with Test-Driven Development: Advance your skills and write effective automated tests with Vitest, Playwright, and Cucumber.js (Paperback) $34.54
$3454current price $34.54Svelte with Test-Driven Development: Advance your skills and write effective automated tests with Vitest, Playwright, and Cucumber.js (Paperback)
Writing Maintainable Unit Tests: Mastering the art of loosely coupled unit tests, (Paperback) $36.32
$3632current price $36.32Writing Maintainable Unit Tests: Mastering the art of loosely coupled unit tests, (Paperback)
MTTC Library Media - Test Taking Strategies, (Paperback) $34.87
$3487current price $34.87MTTC Library Media - Test Taking Strategies, (Paperback)
CSET Multiple Subjects - Test Taking Strategies, (Paperback) $34.87
$3487current price $34.87CSET Multiple Subjects - Test Taking Strategies, (Paperback)
Testing Python: Applying Unit Testing, Tdd, BDD and Acceptance Testing, (Paperback) $36.32
$3632current price $36.32Testing Python: Applying Unit Testing, Tdd, BDD and Acceptance Testing, (Paperback)
11 out of 5 Stars. 1 reviews1 out of 5 starsSoftware Testing Strategies: Accelerating software delivery with continuous testing and integration (English Edition), (Paperback) $29.95
$2995current price $29.95Software Testing Strategies: Accelerating software delivery with continuous testing and integration (English Edition), (Paperback)
UP Police SI/ASI Book 2023 (English Edition) - 5 Full Length Mock Tests, 8 Sectional Tests and 1 Previous Year Papers (1, (Paperback) $39.99
$3999current price $39.99UP Police SI/ASI Book 2023 (English Edition) - 5 Full Length Mock Tests, 8 Sectional Tests and 1 Previous Year Papers (1, (Paperback)
Test-Driven Development: A Practical Approach: Build Higher Quality Software Faster with the TDD Cycle in Python and Jav, (Paperback) $19.99
$1999current price $19.99Test-Driven Development: A Practical Approach: Build Higher Quality Software Faster with the TDD Cycle in Python and Jav, (Paperback)
Mastering Bruno API Testing: The Complete Guide to Building, Testing, Automating, and Debugging REST APIs Using Collecti, (Paperback) $29.99
$2999current price $29.99Mastering Bruno API Testing: The Complete Guide to Building, Testing, Automating, and Debugging REST APIs Using Collecti, (Paperback)
Customer ratings & reviews
- Free shipping
Free Holiday returns until Jan 31
