Skip to the chapter
←TestingGGroundwork✓Testing
Testing/Beginner/B4
4 / 24 written chapters
The cover
  1. B1Why we test
  2. B2Unit testing fundamentals
  3. B3Testing pure functions
  4. B4Mocking basics
  5. B5Testing async code
  6. B6Code coverage
  7. B7Tests in CI
  1. I1TDD
  2. I2Testing UI components
  3. I3Testing APIs & backends
  4. I4Snapshot testing
  5. I5Fixtures & test data
  6. I6Mocking network requests
  7. I7Testing against a database
  8. I8BDD
  9. I9Flaky tests
  1. A1End-to-end testing
  2. A2Visual regression
  3. A3Contract testing
  4. A4Performance testing
  5. A5Accessibility testing
  6. A6Architecture at scale
  7. A7Mutation testing
  8. A8Test strategy

✓B4 · Part 1 · Beginner

Mocking basics

Not written yet.
4 of 24

Sketch only

01This chapter will cover

Mocking basics

  • Mocking modules, functions and timers

→Next stop

  1. B3Previous · B3Testing pure functions
  2. B4you are here
  3. Next · B5Testing async codeNext chapter

01Meanwhile

  • JavaScript is written, start there
  • R3 · JavaScript & TS covers this in the interview book