Этот материал находится в платной подписке. Оформи премиум подписку и смотри или слушай Testing Next.js Apps with Jest, Testing Library and Cypress, а также все другие курсы, прямо сейчас!
Премиум
  • Урок 1. 00:03:11
    Introduction
  • Урок 2. 00:03:09
    Course Technologies and Prerequisites
  • Урок 3. 00:03:21
    create-next-app Using with-jest Example
  • Урок 4. 00:05:43
    First Next.js Test
  • Урок 5. 00:02:39
    Course Features: Code Quizzes and Side Notes
  • Урок 6. 00:05:15
    Guide to the Rest of the Course
  • Урок 7. 00:03:14
    Introduction to Testing
  • Урок 8. 00:04:34
    Types of Tests
  • Урок 9. 00:04:05
    What to Test
  • Урок 10. 00:04:58
    Test Redundancy
  • Урок 11. 00:03:22
    Test Granularity Guidelines
  • Урок 12. 00:03:06
    My View on Snapshot Tests (hint: not my thing)
  • Урок 13. 00:02:28
    Summary: Testing Definitions and Philosophy
  • Урок 14. 00:01:14
    Introduction to Course App and Next.js Data Fetching
  • Урок 15. 00:03:19
    Demo of Course App
  • Урок 16. 00:10:49
    Next.js Data Fetching Strategies
  • Урок 17. 00:04:39
    Installing the Course App
  • Урок 18. 00:05:28
    Course App Code Notes
  • Урок 19. 00:03:46
    Introduction and Technologies
  • Урок 20. 00:07:19
    Testing a Static Page
  • Урок 21. 00:07:56
    Testing SSG Props
  • Урок 22. 00:02:59
    Code Quiz! Band Component Error
  • Урок 23. 00:04:31
    Decisions and Guidelines for the Tests So Far
  • Урок 24. 00:02:59
    Introduction to Mock Service Worker
  • Урок 25. 00:05:13
    Setting up MSW with Next.js
  • Урок 26. 00:07:38
    Adding a MSW Handler
  • Урок 27. 00:06:13
    Using MSW for a Test: Reservation Component
  • Урок 28. 00:06:32
    Code Quiz! User Reservations
  • Урок 29. 00:10:20
    Different MSW Responses per Test
  • Урок 30. 00:03:19
    Code Quiz! Different MSW Responses per Test
  • Урок 31. 00:02:40
    Summary: UI Testing
  • Урок 32. 00:03:40
    Introduction to Test Databases
  • Урок 33. 00:03:29
    Creating a Test Database
  • Урок 34. 00:07:17
    Environment Variables
  • Урок 35. 00:07:59
    Creating the Test DB and Environment Variables
  • Урок 36. 00:08:54
    Create a Method to Reset the Test DB
  • Урок 37. 00:01:28
    Summary: Setting up a Test Database
  • Урок 38. 00:02:57
    Introducing testing Next.js Routes and Cypress
  • Урок 39. 00:02:07
    OPTIONAL: Introduction to Cypress
  • Урок 40. 00:05:47
    Setting up Next.js for Cypress
  • Урок 41. 00:09:05
    Setting up Cypress
  • Урок 42. 00:06:39
    First Cypress Test: Static Route
  • Урок 43. 00:03:03
    Code Quiz! Static Route
  • Урок 44. 00:02:21
    Testing Dynamic Routes
  • Урок 45. 00:07:10
    Resetting the Database in Cypress
  • Урок 46. 00:03:36
    Test Dynamic Route that was Present at Build Time
  • Урок 47. 00:02:44
    Code Quiz! Test route that does not exist
  • Урок 48. 00:07:09
    Test Route Created after Build
  • Урок 49. 00:05:44
    Run all Cypress and Jest Tests
  • Урок 50. 00:02:33
    Summary: Testing Next.js Routes and Cypress
  • Урок 51. 00:02:43
    Introduction to Testing ISR and Data Updates
  • Урок 52. 00:04:20
    Testing Data Comes from ISR Cache
  • Урок 53. 00:05:14
    First ISR Cache Test
  • Урок 54. 00:04:03
    Code Quiz! ISR Bands Page
  • Урок 55. 00:05:28
    Updating the ISR Cache on Demand
  • Урок 56. 00:03:44
    Writing a Cypress Plug-In for Environment Variable
  • Урок 57. 00:09:55
    ISR Revalidation Test
  • Урок 58. 00:11:38
    Clearing the ISR Cache
  • Урок 59. 00:04:50
    Adding ISR Cache Clearing to Test
  • Урок 60. 00:04:45
    Code Quiz! Revalidate ISR Cache
  • Урок 61. 00:04:17
    SWR Revalidate on Interval
  • Урок 62. 00:11:18
    Testing Revalidate on Interval
  • Урок 63. 00:04:12
    Code Quiz! Revalidate on Interval
  • Урок 64. 00:02:13
    Summary: Testing ISR and Data Updates
  • Урок 65. 00:03:23
    Introduction to Testing Authentication
  • Урок 66. 00:06:23
    Auth Wrapper in Course App
  • Урок 67. 00:04:13
    Adding Sign-In Details to Cypress
  • Урок 68. 00:11:34
    Testing Success Flow with Auth Wrapper
  • Урок 69. 00:03:56
    Code Quiz! Authentication Failure followed by Success
  • Урок 70. 00:05:22
    Parametrizing Protected Page Tests
  • Урок 71. 00:09:10
    Authenticating Programmatically
  • Урок 72. 00:05:40
    Code Quiz! Authenticating Programmatically
  • Урок 73. 00:03:22
    Ticket Purchase End-to-End Test
  • Урок 74. 00:01:49
    Summary: Testing Authentication
  • Урок 75. 00:05:30
    Introduction to API Tests
  • Урок 76. 00:08:33
    First API Test
  • Урок 77. 00:08:15
    Fixing Test Errors: Polyfill, resetDB, ignore DB directory in watchlist
  • Урок 78. 00:06:58
    Testing a Route with a URL Param
  • Урок 79. 00:06:55
    Testing a POST Route
  • Урок 80. 00:06:58
    Mocking utils Module for Authentication
  • Урок 81. 00:05:31
    Write Test using Mocked Module
  • Урок 82. 00:03:06
    Code Quiz! User with No Reservations
  • Урок 83. 00:06:10
    Code Quiz! Post a Reservation
  • Урок 84. 00:05:45
    Fixing Issues with Parallel Tests using Shared Database
  • Урок 85. 00:05:02
    Updating Mock Function Return Value: Testing Unauthorized Request
  • Урок 86. 00:02:15
    Code Quiz! Updating Mock Function Return Value
  • Урок 87. 00:05:10
    Testing Routes with Query String Params
  • Урок 88. 00:01:59
    Code Quiz! Query String Params
  • Урок 89. 00:03:00
    Summary: Testing Next.js APIs
  • Урок 90. 00:01:04
    Congratulations and Thank You!