Articoli correlati a Mastering React Test-Driven Development: Build simple...

Mastering React Test-Driven Development: Build simple and maintainable web apps with React, Redux, and GraphQL, 2nd Edition - Brossura

 
9781803247120: Mastering React Test-Driven Development: Build simple and maintainable web apps with React, Redux, and GraphQL, 2nd Edition

Sinossi

Learn test-driven and behavior-driven development techniques that will give you greater confidence when building React applications

Key Features

  • Explore the TDD process, how it works, and why it will help you write maintainable React apps
  • Develop a component testing framework from scratch, which will help you understand the mechanics of good unit testing
  • Reduce complexity by using unit tests and end-to-end acceptance tests to drive the design of your apps

Book Description

Test-driven development (TDD) is a programming workflow that helps you build your apps by specifying behavior as automated tests. The TDD workflow future-proofs apps so that they can be modified without fear of breaking existing functionality. Another benefit of TDD is that it helps software development teams communicate their intentions more clearly, by way of test specifications.

This book teaches you how to apply TDD when building React apps. You'll create a sample app using the same React libraries and tools that professional React developers use, such as Jest, React Router, Redux, Relay (GraphQL), Cucumber, and Puppeteer. The TDD workflow is supported by various testing techniques and patterns, which are useful even if you're not following the TDD process. This book covers these techniques by walking you through the creation of a component test framework. You'll learn automated testing theory which will help you work with any of the test libraries that are in standard usage today, such as React Testing Library. This second edition has been revised with a stronger focus on concise code examples and has been fully updated for React 18.

By the end of this TDD book, you'll be able to use React, Redux, and GraphQL to develop robust web apps.

What you will learn

  • Build test-driven applications using React 18 and Jest
  • Understand techniques and patterns for writing great automated tests
  • Use test doubles and mocks effectively
  • Test-drive browser APIs, including the Fetch API and the WebSocket API
  • Integrate with libraries such as React Router, Redux, and Relay (GraphQL)
  • Use Cucumber.js and Puppeteer to build Behaviour- Driven Development (BDD) style tests for your applications
  • Build and test async Redux code using redux-saga and expect-redux

Who this book is for

This book is for frontend developers who are looking to improve their testing practices and increase the quality and maintainability of their applications. To make the most of this book, you'll need knowledge of the JavaScript programming language.

Table of Contents

  1. First Steps with Test-Driven Development
  2. Rendering Lists and Detail Views
  3. Refactoring the Test Suite
  4. Test-Driving Data Input
  5. Adding Complex Form Interactions
  6. Exploring Test Doubles
  7. Testing useEffect and Mocking Components
  8. Building an Application Component
  9. Form Validation
  10. Filtering and Searching Data
  11. Test-Driving React Router
  12. Test-Driving Redux
  13. Test-Driving GraphQL
  14. Building a Logo Interpreter
  15. Adding Animation
  16. Working with WebSockets
  17. Writing Your First Cucumber Test
  18. Adding Features Guided by Cucumber Tests
  19. Understanding TDD in the Wider Testing Landscape

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

Informazioni sull?autore

Daniel Irvine is a UK-based software consultant. He helps businesses simplify their existing codebases and assists dev teams in improving the quality of their software using eXtreme programming (XP) practices. He has been coaching developers for many years and co-founded the Queer Code London meetup.

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.

Compra usato

Condizioni: come nuovo
Unread book in perfect condition...
Visualizza questo articolo

EUR 16,97 per la spedizione da U.S.A. a Italia

Destinazione, tempi e costi

EUR 5,84 per la spedizione da Regno Unito a Italia

Destinazione, tempi e costi

Risultati della ricerca per Mastering React Test-Driven Development: Build simple...

Foto dell'editore

Daniel Irvine
Editore: Packt Publishing Limited, 2022
ISBN 10: 1803247126 ISBN 13: 9781803247120
Nuovo PAP
Print on Demand

Da: PBShop.store UK, Fairford, GLOS, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

PAP. Condizione: New. New Book. Delivered from our UK warehouse in 4 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Codice articolo L0-9781803247120

Contatta il venditore

Compra nuovo

EUR 42,71
Convertire valuta
Spese di spedizione: EUR 5,84
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Foto dell'editore

Irvine, Daniel
Editore: Packt Publishing, 2022
ISBN 10: 1803247126 ISBN 13: 9781803247120
Nuovo Brossura

Da: California Books, Miami, FL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. Codice articolo I-9781803247120

Contatta il venditore

Compra nuovo

EUR 41,11
Convertire valuta
Spese di spedizione: EUR 7,64
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Foto dell'editore

Daniel Irvine
Editore: Packt Publishing Limited, 2022
ISBN 10: 1803247126 ISBN 13: 9781803247120
Nuovo PAP
Print on Demand

Da: PBShop.store US, Wood Dale, IL, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

PAP. Condizione: New. New Book. Shipped from UK. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Codice articolo L0-9781803247120

Contatta il venditore

Compra nuovo

EUR 48,93
Convertire valuta
Spese di spedizione: EUR 1,90
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Irvine, Daniel
ISBN 10: 1803247126 ISBN 13: 9781803247120
Nuovo Paperback or Softback

Da: BargainBookStores, Grand Rapids, MI, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback or Softback. Condizione: New. Mastering React Test-Driven Development - Second Edition: Build simple and maintainable web apps with React, Redux, and GraphQL 2.11. Book. Codice articolo BBS-9781803247120

Contatta il venditore

Compra nuovo

EUR 40,81
Convertire valuta
Spese di spedizione: EUR 11,46
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 5 disponibili

Aggiungi al carrello

Foto dell'editore

Irvine, Daniel
Editore: Packt Publishing, 2022
ISBN 10: 1803247126 ISBN 13: 9781803247120
Nuovo Brossura

Da: Ria Christie Collections, Uxbridge, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. In. Codice articolo ria9781803247120_new

Contatta il venditore

Compra nuovo

EUR 42,05
Convertire valuta
Spese di spedizione: EUR 10,42
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Foto dell'editore

Daniel Irvine
Editore: Packt Publishing Limited, 2022
ISBN 10: 1803247126 ISBN 13: 9781803247120
Nuovo Paperback / softback
Print on Demand

Da: THE SAINT BOOKSTORE, Southport, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Paperback / softback. Condizione: New. This item is printed on demand. New copy - Usually dispatched within 5-9 working days 100. Codice articolo C9781803247120

Contatta il venditore

Compra nuovo

EUR 46,40
Convertire valuta
Spese di spedizione: EUR 6,13
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Foto dell'editore

Daniel Irvine
Editore: Packt Publishing, 2022
ISBN 10: 1803247126 ISBN 13: 9781803247120
Nuovo Brossura

Da: GreatBookPrices, Columbia, MD, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. Codice articolo 44753068-n

Contatta il venditore

Compra nuovo

EUR 37,91
Convertire valuta
Spese di spedizione: EUR 16,97
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 3 disponibili

Aggiungi al carrello

Immagini fornite dal venditore

Irvine, Daniel
Editore: Packt Publishing, 2022
ISBN 10: 1803247126 ISBN 13: 9781803247120
Nuovo Kartoniert / Broschiert

Da: moluna, Greven, Germania

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Kartoniert / Broschiert. Condizione: New. &Uumlber den AutorrnrnDaniel Irvine is a UK-based software consultant. He helps businesses simplify their existing codebases and assists dev teams in improving the quality of their software using eXtreme programming (XP) practices. He has been . Codice articolo 706287663

Contatta il venditore

Compra nuovo

EUR 47,42
Convertire valuta
Spese di spedizione: EUR 9,70
Da: Germania a: Italia
Destinazione, tempi e costi

Quantità: Più di 20 disponibili

Aggiungi al carrello

Foto dell'editore

Daniel Irvine
Editore: Packt Publishing, 2022
ISBN 10: 1803247126 ISBN 13: 9781803247120
Antico o usato Brossura

Da: GreatBookPrices, Columbia, MD, U.S.A.

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: As New. Unread book in perfect condition. Codice articolo 44753068

Contatta il venditore

Compra usato

EUR 40,18
Convertire valuta
Spese di spedizione: EUR 16,97
Da: U.S.A. a: Italia
Destinazione, tempi e costi

Quantità: 3 disponibili

Aggiungi al carrello

Foto dell'editore

Irvine, Daniel
Editore: Packt Publishing, 2022
ISBN 10: 1803247126 ISBN 13: 9781803247120
Nuovo Brossura

Da: GreatBookPricesUK, Woodford Green, Regno Unito

Valutazione del venditore 5 su 5 stelle 5 stelle, Maggiori informazioni sulle valutazioni dei venditori

Condizione: New. Codice articolo 44753068-n

Contatta il venditore

Compra nuovo

EUR 40,31
Convertire valuta
Spese di spedizione: EUR 17,39
Da: Regno Unito a: Italia
Destinazione, tempi e costi

Quantità: 3 disponibili

Aggiungi al carrello

Vedi altre 11 copie di questo libro

Vedi tutti i risultati per questo libro