Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Software Testing Fundamentals

Write fast, readable automated tests with a unit-test framework and decide what to test at each level of the test pyramid.

Intro2 roadmaps

4 objectives 6 steps about 115 min

Learn it step by step

Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.

Start learning

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Write unit tests with a unit-test framework (pytest in the reference stack, Vitest for JavaScript/TypeScript) using arrange-act-assert, parametrized cases and shared fixtures, including tests for error paths.
  • Replace slow or external collaborators with test doubles (fakes, stubs or mocks), and explain when a fake is preferable to a mock.
  • Write in-process endpoint tests for a web endpoint or other entry point, asserting on its observable outputs (status, headers, body or return value).
  • Choose the test level (unit, integration, end-to-end) for a behavior and use a coverage report to find untested branches.

Lesson plan

6 steps, about 115 min · 5 of 5 lessons available so far

Practise it

Add a pytest suite to your FastAPI app: parametrized unit tests for a validation helper, a fake repository injected through a dependency override, endpoint tests for 2xx, 404 and 422 cases, and a branch-coverage report whose remaining gaps you explain. Learners on a JavaScript stack meet the same objectives with Vitest against a Node or Next.js route handler.

Build it from scratch

Practice builds that exercise this skill by re-creating a real technology.

Browse 11 tutorials that practise it

References

Hard prerequisites

Unlocks

On these roadmaps

Progress and evidence for this skill are shared across all of them.