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