{"product_id":"simplify-testing-with-react-testing-scottie-crump-9781800564459","title":"Simplify Testing with React Testing Library: Create maintainable tests using RTL that do not break with changes","description":"\u003cp\u003e\u003cstrong\u003eA fast-paced, practical guide to helping you leverage React Testing Library to test the DOM output of components\u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eKey Features: \u003c\/strong\u003e\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eGet to grips with React Testing Library and create tests that don't break with changes in implementation\u003c\/li\u003e\n\u003cli\u003eLearn how to put RTL into practice by implementing it in real-world scenarios\u003c\/li\u003e\n\u003cli\u003eTest apps to be more accessible and ensure your tests will work with actual DOM nodes\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eBook Description: \u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003eReact 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.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eThe 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.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003eBy the end of this React book, you will have learned all you need to be able to test React components confidently.\u003c\/p\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eWhat You Will Learn: \u003c\/strong\u003e \u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eExplore React Testing Library and its use cases\u003c\/li\u003e\n\u003cli\u003eGet to grips with the RTL ecosystem\u003c\/li\u003e\n\u003cli\u003eApply jest-dom to enhance your tests using RTL\u003c\/li\u003e\n\u003cli\u003eGain the confidence you need to create tests that don't break with changes using RTL\u003c\/li\u003e\n\u003cli\u003eIntegrate Cucumber and Cypress into your test suite\u003c\/li\u003e\n\u003cli\u003eUse TDD to drive the process of writing tests\u003c\/li\u003e\n\u003cli\u003eApply your existing React knowledge for using RTL\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003e\u003cbr\u003e\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eWho this book is for: \u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003eThis 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.\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e Scottie Crump\u003cbr\u003e\u003cb\u003eISBN-10:\u003c\/b\u003e 1800564457\u003cbr\u003e\u003cb\u003eISBN-13:\u003c\/b\u003e 9781800564459\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Packt Publishing\u003cbr\u003e\u003cb\u003eLanguage:\u003c\/b\u003e English\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 05\/14\/2021\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 246\u003cbr\u003e\u003cb\u003eFormat:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003eWeight:\u003c\/b\u003e 0.95lbs\u003cbr\u003e\u003cb\u003eSize:\u003c\/b\u003e 9.25h x 7.50w x 0.52d\u003c\/p\u003e","brand":"Scottie Crump","offers":[{"title":"Paperback","offer_id":45265138254079,"sku":"9781800564459","price":38.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0662\/2982\/9887\/files\/img_d1eea67d-ae83-4e7d-af9b-4ce1ebb43590.jpg?v=1713420260","url":"https:\/\/www.whiterainbookhouse.com\/products\/simplify-testing-with-react-testing-scottie-crump-9781800564459","provider":"WR Book House","version":"1.0","type":"link"}