Этот материал находится в платной подписке. Оформи премиум подписку и смотри или слушай JavaScript Unit Testing - The Practical Guide, а также все другие курсы, прямо сейчас!
Премиум
  1. Урок 1. 00:00:55
    Welcome To This Course!
  2. Урок 2. 00:04:42
    What Is Testing?
  3. Урок 3. 00:04:34
    Unit Testing: What & Why?
  4. Урок 4. 00:05:52
    Unit vs Integration vs E2E Tests
  5. Урок 5. 00:01:36
    A Quick Note About Test-Driven Development (TDD)
  6. Урок 6. 00:06:43
    About This Course
  7. Урок 7. 00:01:10
    Module Introduction
  8. Урок 8. 00:06:28
    Which Tools Are Needed For Testing?
  9. Урок 9. 00:06:57
    Jest & Vitest
  10. Урок 10. 00:01:37
    Installing Vitest
  11. Урок 11. 00:08:00
    Course Project Setup
  12. Урок 12. 00:01:20
    Module Introduction
  13. Урок 13. 00:07:05
    Basic Test File & Project Setup
  14. Урок 14. 00:06:55
    Writing a First Test
  15. Урок 15. 00:04:19
    Running Tests
  16. Урок 16. 00:03:03
    Why Are We Testing?
  17. Урок 17. 00:04:37
    The AAA Pattern - Arrange, Act, Assert
  18. Урок 18. 00:01:35
    Keep Your Tests Simple!
  19. Урок 19. 00:07:39
    Defining Behaviors & Fixing Errors In Your Code
  20. Урок 20. 00:04:37
    Demo: Writing More Tests
  21. Урок 21. 00:04:15
    Testing For Errors
  22. Урок 22. 00:03:29
    Demo: Adding More Tests
  23. Урок 23. 00:04:59
    Testing For Thrown Errors & Error Messages
  24. Урок 24. 00:01:45
    Exercise: Problem
  25. Урок 25. 00:04:47
    Exercise: Solution
  26. Урок 26. 00:05:19
    Tests With Multiple Assertions (Multiple Expectations)
  27. Урок 27. 00:02:56
    More Practice!
  28. Урок 28. 00:04:40
    Introducing Test Suites
  29. Урок 29. 00:03:37
    Adding Tests To Frontend & Backend Projects
  30. Урок 30. 00:02:23
    Module Summary
  31. Урок 31. 00:01:26
    Module Introduction
  32. Урок 32. 00:06:04
    What To Test & Not To Test
  33. Урок 33. 00:04:37
    Writing Good Tests - An Overview & Summary
  34. Урок 34. 00:02:03
    Only Test "One Thing"
  35. Урок 35. 00:05:02
    Splitting Functions For Easier Testing & Better Code
  36. Урок 36. 00:10:14
    Refactoring Code
  37. Урок 37. 00:06:08
    Formulating Different Expectations
  38. Урок 38. 00:02:02
    Module Summary
  39. Урок 39. 00:00:58
    Module Introduction
  40. Урок 40. 00:02:24
    Introducing Integration Tests
  41. Урок 41. 00:05:52
    Writing an Integration Test & Reasoning
  42. Урок 42. 00:02:29
    Testing For Errors
  43. Урок 43. 00:03:25
    Integration vs Unit Tests: Finding the Right Balance
  44. Урок 44. 00:01:07
    Module Introduction
  45. Урок 45. 00:04:22
    toBe() vs toEqual()
  46. Урок 46. 00:06:14
    The Problem With Asynchronous Code
  47. Урок 47. 00:05:03
    Testing Asynchronous Code With Callbacks
  48. Урок 48. 00:04:33
    Testing Asynchronous Code With Promises & async / await
  49. Урок 49. 00:01:43
    Getting Started with "Testing Hooks"
  50. Урок 50. 00:04:40
    Why Hooks?
  51. Урок 51. 00:06:14
    Using Testing Hooks (beforeEach, beforeAll, afterEach, afterAll)
  52. Урок 52. 00:02:15
    Concurrent Tests
  53. Урок 53. 00:01:49
    Module Summary
  54. Урок 54. 00:01:04
    Module Introduction
  55. Урок 55. 00:04:12
    The Starting Project
  56. Урок 56. 00:06:25
    The Problem With Side Effects & Tests
  57. Урок 57. 00:02:08
    Introducing Spies & Mocks
  58. Урок 58. 00:05:14
    Working with Spies
  59. Урок 59. 00:05:19
    Getting Started with Mocks & Automocking
  60. Урок 60. 00:02:19
    Note on Mocking
  61. Урок 61. 00:01:31
    Notes on Spies
  62. Урок 62. 00:07:52
    Custom Mocking Logic
  63. Урок 63. 00:06:12
    Managing Custom Mock Implementations Globally (__mocks__ Folder)
  64. Урок 64. 00:01:35
    More Mocking Functionalities
  65. Урок 65. 00:01:01
    Module Summary
  66. Урок 66. 00:01:05
    Module Introduction
  67. Урок 67. 00:03:03
    The Starting Project
  68. Урок 68. 00:06:26
    Refresher: Practicing Basic Tests (1)
  69. Урок 69. 00:04:44
    Refresher: Practicing Basic Tests (2)
  70. Урок 70. 00:02:12
    Reasons to Mock
  71. Урок 71. 00:08:14
    Mocking Global Values & Functions
  72. Урок 72. 00:07:00
    Test-specific Mocking Logic
  73. Урок 73. 00:05:22
    Mocking In Selected Places
  74. Урок 74. 00:07:02
    Using Local Mock Values
  75. Урок 75. 00:01:17
    Module Summary
  76. Урок 76. 00:01:15
    Module Introduction
  77. Урок 77. 00:03:59
    Understanding the Problem
  78. Урок 78. 00:03:43
    Working with Different Testing Environments
  79. Урок 79. 00:05:06
    Setting up a Virtual HTML Page
  80. Урок 80. 00:02:59
    Testing DOM Functionalities
  81. Урок 81. 00:03:13
    DOM Tests & Cleanup Work
  82. Урок 82. 00:01:33
    Finishing Example
  83. Урок 83. 00:01:54
    A Brief Look at the "Testing Library" Package
  84. Урок 84. 00:01:09
    Module Summary
  85. Урок 85. 00:04:11
    Course Roundup