• Урок 1. 00:04:42
    How to take this course
  • Урок 2. 00:06:57
    Unit testing discussion
  • Урок 3. 00:03:37
    Tools instalation: TypeScript and NodeJs
  • Урок 4. 00:01:46
    Tools installation: Visual Studio Code
  • Урок 5. 00:00:59
    Sectio intro
  • Урок 6. 00:09:38
    Project setup: Jest describe and test
  • Урок 7. 00:07:35
    Assertions: expect toBe and toEqual
  • Урок 8. 00:03:12
    Jest hooks: beforeAll, beforeEatch, afterEatch, afterAll
  • Урок 9. 00:04:26
    Testing errors: wrapping functions, toThrow, toBeInstanceOf, toHaveProperty
  • Урок 10. 00:03:48
    Debug setup: test.only, recipes, breakpoints, test debug view, callStack
  • Урок 11. 00:06:19
    Coverage: config, collectCoverageFrom, Statements, Branches, Functions, Lines
  • Урок 12. 00:01:53
    Section intro
  • Урок 13. 00:02:48
    Test doubles discussion: pretend objects used for testing purposes
  • Урок 14. 00:03:36
    Project presentation
  • Урок 15. 00:05:54
    Stubs: casting as particular object
  • Урок 16. 00:07:54
    Mocks introduction: jest.fn, creation, injection
  • Урок 17. 00:02:47
    Mock asertions: haveBeenCalled, toBeCalledWith, clearMocks
  • Урок 18. 00:09:32
    Mock return values: mockReturnValue, Once
  • Урок 19. 00:04:13
    Mocking promise rejections: mockRejectValue
  • Урок 20. 00:04:03
    Mocking modules: jest.mock
  • Урок 21. 00:08:40
    Testing random: spyOn global objects
  • Урок 22. 00:01:30
    Section intro
  • Урок 23. 00:07:29
    Testing callbacks: jest matchers, expect.any, prototype injection
  • Урок 24. 00:07:40
    Testing launcher code: deep mocks
  • Урок 25. 00:13:13
    Testing Server code: mocking constructors
  • Урок 26. 00:01:32
    Section intro
  • Урок 27. 00:02:33
    Integration tests discussion: components working together
  • Урок 28. 00:06:10
    Integration tests setup: Jest with separate configuration
  • Урок 29. 00:09:12
    DataBase integration tests: insert, query and delete object
  • Урок 30. 00:09:55
    Conditional tests: Jest feature proposal
  • Урок 31. 00:12:19
    Server Itests: asynchronously skipping tests
  • Урок 32. 00:01:19
    Section intro
  • Урок 33. 00:04:42
    Project setup with create-react-ap (TypeScript)
  • Урок 34. 00:08:05
    Simple app presentation: Login form with credentials state
  • Урок 35. 00:11:02
    Testing visual elements: querySelector, beInTheDocument
  • Урок 36. 00:08:19
    Testing user interaction: fireEvent change, click
  • Урок 37. 00:05:31
    Testing async code: waitForElement, mock resolve value
  • Урок 38. 00:04:46
    Debug and jest options inside package.json
  • Урок 39. 00:08:52
    Project setup from scratch: react install and run with webPack
  • Урок 40. 00:00:46
    Section intro
  • Урок 41. 00:05:28
    Testing frameworks comparison
  • Урок 42. 00:02:46
    Closing words
Этот материал находится в платной подписке. Оформи премиум подписку и смотри Unit Testing for Typescript & NodeJs Developers with Jest, а также все другие курсы, прямо сейчас!
Премиум