MARC 닫기
00000cam c2200205 c 4500
000000587998
20201230142137
m d
cr |n|---|||||
190525s2019 enk o 000a engd
▼a 1100429192
▼a 1789138787
▼a 9781789138788
▼q (electronic bk.)
▼a 2117003
▼b (N$T)
▼a (OCoLC)1101035886
▼z (OCoLC)1100429192
▼a EBLCP
▼b eng
▼c EBLCP
▼d OCLCQ
▼d CHVBK
▼d UKAHL
▼d YDX
▼d OCLCQ
▼d N$T
▼d 248023
▼e pn
▼a MAIN
▼a QA76.73.J39
▼b .I785 2019
▼a 005.14
▼2 23
▼a Irvine, Daniel.
▼a Mastering React Test-Driven Development
▼h [electronic resource]:
▼b Build Rock-Solid, Well-tested Web Apps with React, Redux and GraphQL.
▼a Birmingham:
▼b Packt Publishing, Limited,
▼c 2019.
▼a 1 online resource (483 pages).
▼a text
▼b txt
▼2 rdacontent
▼a computer
▼b c
▼2 rdamedia
▼a online resource
▼b cr
▼2 rdacarrier
▼a Passing through props to the child component
▼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
▼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
▼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
▼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
▼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
▼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 ...
▼a Print version record.
▼a JavaScript.
▼a User interfaces.
▼a Electronic books.
▼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
▼3 EBSCOhost
▼u http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=2117003
▼a 강리원
▼b 강리원
▼a eBook
| 자료유형 : | eBook |
|---|---|
| ISBN : | 1789138787 |
| ISBN : | 9781789138788 |
| 개인저자 : | Irvine, Daniel. |
| 서명/저자사항 : | Mastering React Test-Driven Development [electronic resource]: Build Rock-Solid, Well-tested Web Apps with React, Redux and GraphQL. |
| 발행사항 : | Birmingham: Packt Publishing, Limited, 2019. |
| 형태사항 : | 1 online resource (483 pages). |
| 일반주기 : | Passing through props to the child component |
| 내용주기 : | 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 |
| 내용주기 : | 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 |
| 내용주기 : | 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 |
| 내용주기 : | 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 |
| 내용주기 : | 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 |
| 요약 : | 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 ... |
| 일반주제명 : | JavaScript. -- |
| 일반주제명 : | User interfaces. -- |
| 기타형태 저록 : | Print version: Irvine, Daniel. Mastering React Test-Driven Development : Build Rock-Solid, Well-tested Web Apps with React, Redux and GraphQL. Birmingham : Packt Publishing, Limited, ©2019, 9781789133417 |
| 언어 | 영어 |
| URL : |
|---|
서평쓰기