Этот материал находится в платной подписке. Оформи премиум подписку и смотри или слушай Testing JavaScript with Kent C. Dodds, а также все другие курсы, прямо сейчас!
Премиум
  • Урок 1. 00:00:33
    Intro to Fundamentals of Testing in JavaScript
  • Урок 2. 00:01:42
    Throw an Error with a Simple Test in JavaScript
  • Урок 3. 00:01:36
    Abstract Test Assertions into a JavaScript Assertion Library
  • Урок 4. 00:02:28
    Encapsulate and Isolate Tests by building a JavaScript Testing Framework
  • Урок 5. 00:01:06
    Support Async Tests with JavaScripts Promises through async await
  • Урок 6. 00:00:55
    Provide Testing Helper Functions as Globals in JavaScript
  • Урок 7. 00:00:38
    Verify Custom JavaScript Tests with Jest
  • Урок 8. 00:02:41
    Intro to JavaScript Mocking Fundamentals
  • Урок 9. 00:02:05
    Override Object Properties to Mock with Monkey-patching in JavaScript
  • Урок 10. 00:03:21
    Ensure Functions are Called Correctly with JavaScript Mocks
  • Урок 11. 00:02:13
    Restore the Original Implementation of a Mocked JavaScript Function with jest.spyOn
  • Урок 12. 00:03:39
    Mock a JavaScript module in a test
  • Урок 13. 00:01:58
    Make a shared JavaScript mock module
  • Урок 14. 00:01:00
    Intro to Static Analysis Testing JavaScript Applications
  • Урок 15. 00:04:41
    Lint JavaScript by Configuring and Running ESLint
  • Урок 16. 00:01:18
    Use the ESLint Extension for VSCode
  • Урок 17. 00:02:01
    Use pre-built ESLint Configuration using extends
  • Урок 18. 00:02:19
    Run ESLint with npm Scripts
  • Урок 19. 00:02:56
    Format Code by Installing and Running Prettier
  • Урок 20. 00:02:13
    Configure Prettier
  • Урок 21. 00:01:47
    Use the Prettier Extension for VSCode
  • Урок 22. 00:02:26
    Disable Unnecessary ESLint Stylistic Rules with eslint-config-prettier
  • Урок 23. 00:03:11
    Validate All Files are Properly Formatted with Prettier
  • Урок 24. 00:05:30
    Avoid Common Errors by Installing and Configuring TypeScript
  • Урок 25. 00:05:29
    Make ESLint Support TypeScript Files
  • Урок 26. 00:02:47
    Validate Code in a pre-commit git Hook with husky
  • Урок 27. 00:04:19
    Auto-format All Files and Validate Relevant Files in a precommit Script with lint-staged
  • Урок 28. 00:01:17
    Run Multiple npm Scripts in Parallel with npm-run-all
  • Урок 29. 00:02:02
    Intro to Use DOM Testing Library to test any JS framework
  • Урок 30. 00:02:02
    Use DOM Testing Library with React
  • Урок 31. 00:02:14
    Use DOM Testing Library with Preact
  • Урок 32. 00:00:40
    Use DOM Testing Library with jQuery
  • Урок 33. 00:01:26
    Use DOM Testing Library with Dojo
  • Урок 34. 00:01:33
    Use DOM Testing Library with HyperApp
  • Урок 35. 00:01:03
    Use DOM Testing Library with AngularJS
  • Урок 36. 00:01:29
    Use DOM Testing Library with Angular
  • Урок 37. 00:00:57
    Use DOM Testing Library with VueJS
  • Урок 38. 00:01:09
    Use DOM Testing Library with Mithril
  • Урок 39. 00:01:08
    Use DOM Testing Library with from-html
  • Урок 40. 00:01:39
    Use DOM Testing Library with Svelte
  • Урок 41. 00:02:24
    Intro to Configure Jest for Testing JavaScript Applications
  • Урок 42. 00:02:48
    Install and Run Jest
  • Урок 43. 00:02:54
    Compile Modules with Babel in Jest Tests
  • Урок 44. 00:02:40
    Configure Jest’s Test Environment for Testing Node or Browser Code
  • Урок 45. 00:03:42
    Support Importing CSS files with Jest’s moduleNameMapper
  • Урок 46. 00:03:39
    Support using Webpack CSS Modules with Jest
  • Урок 47. 00:08:37
    Generate a Serializable Value with Jest Snapshots
  • Урок 48. 00:02:22
    Test an Emotion Styled UI with Custom Jest Snapshot Serializers
  • Урок 49. 00:02:29
    Support Custom Module Resolution with Jest moduleDirectories
  • Урок 50. 00:02:54
    Configure Jest to Run Setup for All Tests with Jest setupFilesAfterEnv
  • Урок 51. 00:10:58
    Support a Test Utilities File with Jest moduleDirectories
  • Урок 52. 00:07:15
    Use Jest Watch Mode to Speed Up Development
  • Урок 53. 00:04:15
    Step through Code in Jest using the Node.js Debugger and Chrome DevTools
  • Урок 54. 00:04:41
    Configure Jest to Report Code Coverage on Project Files
  • Урок 55. 00:04:36
    Analyze Jest Code Coverage Reports
  • Урок 56. 00:04:27
    Set a Code Coverage Threshold in Jest to Maintain Code Coverage Levels
  • Урок 57. 00:01:42
    Report Jest Test Coverage to Codecov through TravisCI
  • Урок 58. 00:02:10
    Run Jest Watch Mode by Default Locally with is-ci-cli
  • Урок 59. 00:06:34
    Run Tests with a Different Configuration using Jest’s --config Flag and testMatch Option
  • Урок 60. 00:04:19
    Support Running Multiple Configurations with Jest’s Projects Feature
  • Урок 61. 00:04:38
    Run ESLint with Jest using jest-runner-eslint
  • Урок 62. 00:02:25
    Test Specific Projects in Jest Watch Mode with jest-watch-select-projects
  • Урок 63. 00:02:24
    Filter which Tests are Run with Typeahead Support in Jest Watch Mode
  • Урок 64. 00:04:10
    Run Only Relevant Jest Tests on Git Commit to Avoid Breakages
  • Урок 65. 00:05:12
    What's changed in Test React Components with Jest and React Testing Library
  • Урок 66. 00:01:43
    Intro to Test React Components with Jest and React Testing Library
  • Урок 67. 00:02:29
    Render a React Component for Testing
  • Урок 68. 00:03:08
    Use Jest DOM for Improved Assertions
  • Урок 69. 00:04:19
    Use DOM Testing Library to Write More Maintainable React Tests
  • Урок 70. 00:01:32
    Use React Testing Library to Render and Test React Components
  • Урок 71. 00:01:11
    Debug the DOM State During Tests using React Testing Library’s debug Function
  • Урок 72. 00:03:09
    Test React Component Event Handlers with fireEvent from React Testing Library
  • Урок 73. 00:01:30
    Improve Test Confidence with the User Event Module
  • Урок 74. 00:01:05
    Test Prop Updates with React Testing Library
  • Урок 75. 00:02:01
    Assert That Something is NOT Rendered with React Testing Library
  • Урок 76. 00:03:18
    Test Accessibility of Rendered React Components with jest-axe
  • Урок 77. 00:06:18
    Test componentDidCatch Handler Error Boundaries with React Testing Library
  • Урок 78. 00:02:56
    Hide console.error Logs when Testing Error Boundaries with jest.spyOn
  • Урок 79. 00:03:58
    Ensure Error Boundaries Can Successfully Recover from Errors
  • Урок 80. 00:04:56
    Mock react-transition-group in React Component Tests with jest.mock
  • Урок 81. 00:01:11
    Use React Testing Library’s Wrapper Option to Simplify using rerender
  • Урок 82. 00:06:44
    Mock HTTP Requests with jest.mock in React Component Tests
  • Урок 83. 00:06:45
    Mock HTTP Requests with MSW
  • Урок 84. 00:03:11
    Test Drive the Development of a React Form with React Testing Library
  • Урок 85. 00:01:38
    Test Drive the Submission of a React Form with React Testing Library
  • Урок 86. 00:06:50
    Test Drive the API Call of a React Form with React Testing Library
  • Урок 87. 00:05:57
    Test Drive Mocking react-router’s Redirect Component on a Form Submission
  • Урок 88. 00:03:46
    Test Drive Assertions with Dates in React
  • Урок 89. 00:03:25
    Use Generated Data in Tests with tests-data-bot to Improve Test Maintainability
  • Урок 90. 00:05:23
    Test Drive Error State with React Testing Library
  • Урок 91. 00:02:56
    Write a Custom Render Function to Share Code between Tests and Simplify Tests
  • Урок 92. 00:03:59
    Test React Components that Use the react-router Router Provider with createMemoryHistory
  • Урок 93. 00:01:14
    Initialize the `history` Object with a Bad Entry to Test the react-router no-match Route
  • Урок 94. 00:05:16
    Create a Custom render Function to Simplify Tests of react-router Components
  • Урок 95. 00:03:01
    Test a Redux Connected React Component
  • Урок 96. 00:01:36
    Test a Redux Connected React Component with Initialized State
  • Урок 97. 00:04:02
    Create a Custom Render Function to Simplify Tests of Redux Components
  • Урок 98. 00:03:17
    Test a Custom React Hook with React’s Act Utility and a Test Component
  • Урок 99. 00:03:27
    Write a Setup Function to Reduce Duplication of Testing Custom React Hooks
  • Урок 100. 00:01:28
    Test a Custom React Hook with renderHook from React Hooks Testing Library
  • Урок 101. 00:01:00
    Test Updates to Your Custom React Hook with rerender from React Hooks Testing Library
  • Урок 102. 00:04:17
    Test React Portals with within from React Testing Library
  • Урок 103. 00:04:39
    Test Unmounting a React Component with React Testing Library
  • Урок 104. 00:07:40
    Write React Application Integration Tests with React Testing Library
  • Урок 105. 00:02:03
    Improve Reliability of Integration Tests using find* Queries from React Testing Library
  • Урок 106. 00:01:51
    Improve Reliability of Integration Tests Using the User Event Module
  • Урок 107. 00:02:01
    What's changed in Install, Configure, and Script Cypress for JavaScript Web Applications
  • Урок 108. 00:01:40
    Intro to Install, Configure, and Script Cypress for JavaScript Web Applications
  • Урок 109. 00:03:20
    Install and Run Cypress
  • Урок 110. 00:04:58
    Write the First Cypress Test
  • Урок 111. 00:02:43
    Configure Cypress in cypress.json
  • Урок 112. 00:03:03
    Installing Cypress Testing Library
  • Урок 113. 00:05:08
    Script Cypress for Local Development and Continuous Integration
  • Урок 114. 00:04:23
    Debug a Test with Cypress
  • Урок 115. 00:04:43
    Test User Registration with Cypress
  • Урок 116. 00:02:20
    Cypress Driven Development
  • Урок 117. 00:03:17
    Simulate HTTP Errors in Cypress Tests
  • Урок 118. 00:01:28
    Test User Login with Cypress
  • Урок 119. 00:02:20
    Create a User with cy.request from Cypress
  • Урок 120. 00:02:09
    Keep Tests Isolated and Focused with Custom Cypress Commands
  • Урок 121. 00:01:38
    Use Custom Cypress Command for Reusable Assertions
  • Урок 122. 00:01:21
    Run Tests as an Authenticated User with Cypress
  • Урок 123. 00:01:46
    Use cy.request from Cypress to Authenticate as a New User
  • Урок 124. 00:00:40
    Use a Custom Cypress Command to Login as a User
  • Урок 125. 00:01:38
    Combine Custom Cypress Commands into a Single Custom Command
  • Урок 126. 00:03:09
    Install React DevTools with Cypress
  • Урок 127. 00:04:24
    Intro to Test Node.js Backends
  • Урок 128. 00:01:29
    Test Pure Functions Overview
  • Урок 129. 00:02:47
    Write Unit Tests for a Simple Pure Function
  • Урок 130. 00:04:47
    Improve Error Messages by Generating Test Titles
  • Урок 131. 00:04:07
    Use jest-in-case to Reduce Duplication and Improve Test Titles
  • Урок 132. 00:04:14
    Create a Casify Function to Generate Cases for jest-in-case
  • Урок 133. 00:01:57
    Test Node Middleware Overview
  • Урок 134. 00:06:20
    Write a Unit Test for Handling an UnauthorizedError
  • Урок 135. 00:02:04
    Write a Unit Test for Handling headersSent in an Error Middleware
  • Урок 136. 00:02:21
    Write a Unit Test for Status 500 Error Middleware Fallback
  • Урок 137. 00:02:58
    Improve Test Maintainability using the Test Object Factory Pattern
  • Урок 138. 00:03:40
    Use a Test Object Factory utils/generate
  • Урок 139. 00:02:52
    Test Node Controllers Overview
  • Урок 140. 00:06:27
    Write a Unit Test for a Controller by Mocking the Database
  • Урок 141. 00:05:36
    Simplify Assertions on Error Messages with toMatchInlineSnapshot
  • Урок 142. 00:05:29
    Unit Test Business Logic of a Controller’s Middleware
  • Урок 143. 00:03:10
    Test Controller 404 Edge Case where Resource is Not Found
  • Урок 144. 00:03:39
    Test Controller Unauthorized Case
  • Урок 145. 00:05:58
    Test getListItems for Getting Multiple Mock Objects
  • Урок 146. 00:06:09
    Test the Happy Path of a Creation Flow
  • Урок 147. 00:03:35
    Testing an Error Case for createListItem
  • Урок 148. 00:04:50
    Testing the Happy Path for updateListItem
  • Урок 149. 00:02:28
    Testing Resource Deletion
  • Урок 150. 00:04:15
    Test Authentication API Routes Overview
  • Урок 151. 00:04:13
    Start a Node Server and Fire a Request to an HTTP API Endpoint
  • Урок 152. 00:01:37
    Make Assertions on HTTP API Responses for Registration
  • Урок 153. 00:01:58
    Test the Login Endpoint for a Node Server
  • Урок 154. 00:01:58
    Test the User’s Resource Endpoint
  • Урок 155. 00:01:48
    Create a Pre-configured axios Client for the baseURL
  • Урок 156. 00:06:56
    Improve Error Messages with an axios Interceptor
  • Урок 157. 00:05:03
    Ensure a Unique Server Port
  • Урок 158. 00:03:01
    Use Snapshots to Assert on Server Error Responses
  • Урок 159. 00:01:39
    Interact Directly with the Database
  • Урок 160. 00:03:39
    Test all the Edge Cases
  • Урок 161. 00:01:19
    Test CRUD API Routes Overview
  • Урок 162. 00:03:50
    Write an Integration Test for a Resource Create Endpoint
  • Урок 163. 00:01:43
    Write an Integration Test for a Resource Read Endpoint
  • Урок 164. 00:01:42
    Integration Test a Resource Update Endpoint
  • Урок 165. 00:04:01
    Integration Test a Resource Delete Endpoint
  • Урок 166. 00:01:54
    Snapshot the Error Message with Dynamic Data
  • Урок 167. 00:22:04
    Practical testing with Wes Bos and Scott Tolinski
  • Урок 168. 00:34:23
    a11y with Marcy Sutton
  • Урок 169. 00:28:42
    Static Types with Jessica Kerr
  • Урок 170. 00:33:27
    Testing Practices with J.B. Rainsberger
  • Урок 171. 00:26:46
    Visual regression testing with Angie Jones
  • Урок 172. 00:35:02
    Snapshots and Reason with Jared Forsyth
  • Урок 173. 00:46:15
    Testing culture with Justin Searls
  • Урок 174. 00:27:42
    Ministry of testing with Rosie Sherry
  • Урок 175. 00:32:56
    Craftmanship with Kent Beck
  • Урок 176. 00:38:32
    Testing Levels with Mattias Johansson