Cargando…

Mastering React Test-Driven Development : Build Rock-Solid, Well-tested Web Apps with React, Redux and GraphQL.

This book is comprehensive walk through of Test-Driven Development (TDD) for React. It takes a first-principles approach to teach the TDD process using vanilla Jest. Readers build their own test library as they refactor out repeated code in tandem with building a real-world application. It also cove...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Irvine, Daniel
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, Limited, 2019.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000Mi 4500
001 EBSCO_on1101035886
003 OCoLC
005 20231017213018.0
006 m o d
007 cr |n|---|||||
008 190525s2019 enk o 000 0 eng d
040 |a EBLCP  |b eng  |e pn  |c EBLCP  |d CHVBK  |d OCLCQ  |d YDX  |d UKAHL  |d OCLCQ  |d N$T  |d OCLCQ  |d NLW  |d OCLCQ 
019 |a 1100429192 
020 |a 1789138787 
020 |a 9781789138788  |q (electronic bk.) 
029 1 |a CHNEW  |b 001058812 
029 1 |a CHVBK  |b 569754151 
035 |a (OCoLC)1101035886  |z (OCoLC)1100429192 
050 4 |a QA76.73.J39  |b .I785 2019 
082 0 4 |a 005.14  |2 23 
049 |a UAMI 
100 1 |a Irvine, Daniel. 
245 1 0 |a Mastering React Test-Driven Development :  |b Build Rock-Solid, Well-tested Web Apps with React, Redux and GraphQL. 
260 |a Birmingham :  |b Packt Publishing, Limited,  |c 2019. 
300 |a 1 online resource (483 pages) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
588 0 |a Print version record. 
505 0 |a Cover; Title Page; Copyright and Credits; Dedication; About Packt; Contributors; Table of Contents; Preface; Section 1: First Principles of TDD; Chapter 1: First Steps with Test-Driven Development; Technical requirements; Creating a new React project from scratch; Installing NPM; Creating a new Jest project; Commit early and often; Bringing in React and Babel; Displaying data with your first test; Writing a failing test; Writing your first expectation; Rendering React from a test; Make it pass; Backtracking on ourselves; Refactoring your work; Promoting variables; Using a beforeEach block 
505 8 |a Extracting methodsWriting great tests; Red, green, refactor; Streamlining your testing process; Rendering lists and detail views; Rendering the list of appointments; Specifying list items; Selecting data to view; Initial selection of data; Adding events to a functional component; Manually testing our changes; Adding an entrypoint; Putting it all together with Webpack; Before you check in ... ; Summary; Exercises; Further learning; Chapter 2: Test-driving Data Input with React; Extracting a test helper; Adding a form element; Extracting a form-finder method; Accepting text input 
505 8 |a Extracting an expectation group functionPassing in an existing value; Extracting out a field-finder function; Labeling the field; Checking for null or not; Saving the customer information; Submitting a form with data; Using state instead of props; Duplicating fields; Nesting describe blocks; Generating parameterized tests; Solving a batch of tests; Modifying handleChange to work with multiple fields; Finishing off the form with a submit button; Selecting from a dropdown; Providing options to a dropdown; Utilizing defaultProps to specify real data; Pre-selecting a value 
505 8 |a Completing the remaining tests for the select boxMaking a choice from radio buttons; Constructing a calendar view; Displaying radio buttons for available appointments; Hiding input controls; Finishing it off; Manually testing your solution; Summary; Exercises; Further learning; Chapter 3: Exploring Test Doubles; What is a test double?; Learning to avoid fakes; Submitting forms using spies; Untangling Arrange-Act-Assert; Watching it fail; Making spies reusable; Using a Jest matcher to simplify expectations; Stubbing the fetch API; Replacing global variables with spies 
505 8 |a Installing the window.fetch polyfillActing on return values with stubs; Acting on the fetch response; Displaying errors to the user; Extracting test helpers; Using Jest to spy and stub; Extracting spy helpers; Using jest.spyOn to spy on module mocks; Drying up DOM queries; Extracting container.querySelectorAll; Drying up DOM events; Summary; Exercises; Further learning; Chapter 4: Creating a User Interface; Fetching data on load with useEffect; Stubbing exported constants; Using props within useEffect; Passing customer data through to AppointmentForm 
500 |a Passing through props to the child component 
520 |a This book is comprehensive walk through of Test-Driven Development (TDD) for React. It takes a first-principles approach to teach the TDD process using vanilla Jest. Readers build their own test library as they refactor out repeated code in tandem with building a real-world application. It also covers acceptance testing using Cucumber and ... 
590 |a eBooks on EBSCOhost  |b EBSCO eBook Subscription Academic Collection - Worldwide 
650 0 |a JavaScript. 
650 0 |a User interfaces. 
650 7 |a Computer programming / software development.  |2 bicssc 
650 7 |a Programming & scripting languages: general.  |2 bicssc 
650 7 |a Internet: general works.  |2 bicssc 
650 7 |a Computers  |x Programming Languages  |x JavaScript.  |2 bisacsh 
650 7 |a Computers  |x Programming  |x Open Source.  |2 bisacsh 
650 7 |a Computers  |x Web  |x General.  |2 bisacsh 
776 0 8 |i Print version:  |a Irvine, Daniel.  |t Mastering React Test-Driven Development : Build Rock-Solid, Well-tested Web Apps with React, Redux and GraphQL.  |d Birmingham : Packt Publishing, Limited, ©2019  |z 9781789133417 
856 4 0 |u https://ebsco.uam.elogim.com/login.aspx?direct=true&scope=site&db=nlebk&AN=2117003  |z Texto completo 
938 |a Askews and Holts Library Services  |b ASKH  |n BDZ0040044134 
938 |a ProQuest Ebook Central  |b EBLB  |n EBL5764477 
938 |a EBSCOhost  |b EBSC  |n 2117003 
938 |a YBP Library Services  |b YANK  |n 300508240 
994 |a 92  |b IZTAP