Этот материал находится в платной подписке. Оформи премиум подписку и смотри или слушай Mastering JavaScript Unit Testing, а также все другие курсы, прямо сейчас!
Премиум
  • Урок 1. 00:01:23
    Welcome
  • Урок 2. 00:00:42
    Prerequisites
  • Урок 3. 00:02:16
    Course Structure
  • Урок 4. 00:00:59
    How to Take This Course
  • Урок 5. 00:00:34
    Setting Up the Testing Environment
  • Урок 6. 00:00:55
    Starter Project
  • Урок 7. 00:01:40
    Introduction
  • Урок 8. 00:05:22
    What is Unit Testing
  • Урок 9. 00:03:15
    Types of Tests
  • Урок 10. 00:01:40
    Choosing a Testing Framework
  • Урок 11. 00:01:15
    Setting Up Vitest
  • Урок 12. 00:09:21
    Writing Your First Tests
  • Урок 13. 00:05:57
    Exercise: Testing fizzBuzz
  • Урок 14. 00:07:11
    Test-driven Development
  • Урок 15. 00:05:02
    Exercise: Testing Factorial
  • Урок 16. 00:04:24
    Running Tests
  • Урок 17. 00:04:12
    Navigating Tests in VSCode
  • Урок 18. 00:04:34
    Code Coverage
  • Урок 19. 00:00:55
    Introduction
  • Урок 20. 00:04:25
    Characteristics of Good Unit Tests
  • Урок 21. 00:03:07
    Using Matchers
  • Урок 22. 00:07:18
    Writing Good Assertions
  • Урок 23. 00:09:01
    Exercise: Testing getCoupons
  • Урок 24. 00:07:20
    Positive and Negative Testing
  • Урок 25. 00:07:19
    Exercise: Testing validateUserInput
  • Урок 26. 00:02:58
    Boundary Testing
  • Урок 27. 00:05:46
    Exercise: Testing isValidUsername
  • Урок 28. 00:06:36
    Exercise: Testing canDrive
  • Урок 29. 00:04:57
    Parameterized Tests
  • Урок 30. 00:04:21
    Exercise: Parameterized Tests
  • Урок 31. 00:04:30
    Testing Asynchronous Code
  • Урок 32. 00:02:43
    Setup and Teardown
  • Урок 33. 00:09:55
    Exercise: Testing a Stack
  • Урок 34. 00:00:32
    Introduction
  • Урок 35. 00:05:39
    Creating Mock Functions
  • Урок 36. 00:01:53
    Exercise: Working with Mock Functions
  • Урок 37. 00:05:02
    Mocking Modules
  • Урок 38. 00:05:29
    Exercise: Testing getShippingInfo
  • Урок 39. 00:03:24
    Interaction Testing
  • Урок 40. 00:06:53
    Exercise: Testing submitOrder
  • Урок 41. 00:07:33
    Partial Mocking
  • Урок 42. 00:05:38
    Spying on Functions
  • Урок 43. 00:04:56
    Clearing, Resetting, and Restoring Mocks
  • Урок 44. 00:01:16
    To Mock or Not to Mock
  • Урок 45. 00:03:52
    Mocking Dates
  • Урок 46. 00:01:56
    Exercise: Testing getDiscount
  • Урок 47. 00:00:34
    Introduction
  • Урок 48. 00:01:13
    What are Static Analysis Tools
  • Урок 49. 00:05:11
    Formatting Code with Prettier
  • Урок 50. 00:09:53
    Linting Code with ESLint
  • Урок 51. 00:06:33
    Catching Type Errors with TypeScript
  • Урок 52. 00:06:14
    Running ESLint on TypeScript
  • Урок 53. 00:03:57
    Automating Code Quality Checks with Husky
  • Урок 54. 00:01:34
    Running Tests on Push
  • Урок 55. 00:00:26
    Course Wrap Up