Skip to the chapter
←TestingGGroundwork✓Testing
Testing/Beginner/B2
2 / 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

✓B2 · Part 1 · Beginner

Unit testing fundamentals

Not written yet.
2 of 24

Sketch only

01This chapter will cover

Unit testing fundamentals

  • Jest/Vitest basics, assertions, the AAA test structure

→Next stop

  1. B1Previous · B1Why we test
  2. B2you are here
  3. Next · B3Testing pure functionsNext chapter

01Meanwhile

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