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