Software testing
Learn tests as evidence about observable behavior and risk. Classical techniques such as boundary analysis are combined with current test-runner and browser-tool workflows; passing tests are never presented as proof that all faults are absent.
Get an in-app notice when new lessons or practice are added.
12 chapters across 4 modules
Course chapters
Explore all 12 chapters in any order. Each chapter has learning goals, a practice prompt, and a primary reference; expanded reading pages are linked from their chapter titles.
No matching chapters. Try another term.
01 · Behavior and test design3 chapters
Behavior and boundaries
Turn a requirement into examples that can expose a real defect.
- Specify outcomes independently of implementation structure
Practice: Derive normal, empty, invalid, and boundary cases from a shipping-cost contract.
Read the primary referenceExpanded reading · ReadyEquivalence classes and decision tables
- Reduce redundant inputs while covering distinct behavioral conditions
Practice: Build a decision table for a login policy using synthetic accounts.
Read the primary referenceLesson guide · ReadyAssertions and failure explanations
- Choose assertions that reveal what requirement failed
Practice: Replace vague truthy assertions with precise observable outcomes.
Read the primary referenceLesson guide · Ready
02 · Test boundaries and dependencies3 chapters
Unit and integration scope
- Choose which real dependencies are necessary to expose a risk
Practice: Test a parser in isolation and a repository adapter against a disposable local database.
Read the primary referenceLesson guide · ReadyFixtures, cleanup, and isolation
- Keep test setup explicit and release resources after failures
Practice: Create isolated temporary files and prove cleanup runs on an assertion failure.
Read the primary referenceLesson guide · ReadyFakes, mocks, and contract checks
- Use test doubles without inventing behavior the dependency cannot provide
Practice: Compare a fake storage adapter against the same behavioral contract as a real adapter.
Read the primary referenceLesson guide · Ready
03 · User journeys and asynchronous systems3 chapters
Accessible selectors and user actions
- Find controls by roles and labels that users can understand
Practice: Automate keyboard navigation through a search and results flow.
Read the primary referenceLesson guide · ReadyWaiting for conditions rather than time
- Synchronize a test with an observable state change
Practice: Replace a fixed sleep with an assertion on loading completion.
Read the primary referenceLesson guide · ReadyFailure paths and resilience
- Exercise rejected operations, empty results, and retry behavior
Practice: Test an API failure and ensure a retry neither duplicates work nor loses input.
Read the primary referenceLesson guide · Ready
04 · Quality evidence in delivery3 chapters
Property-based and metamorphic reasoning
- State a general invariant when expected outputs are expensive to list
Practice: Test sort invariants and a serialization round trip with generated inputs.
Read the primary referenceLesson guide · ReadyFlakiness, coverage, and mutation thinking
- Separate execution coverage from a test’s ability to detect a defect
Practice: Investigate a flaky timing test and identify a change the current assertions would miss.
Read the primary referenceLesson guide · ReadyBuild a risk-based quality plan
- Connect important user risks to checks and evidence
Practice: Deliver a tested learning-search journey, a small failure report, and explicit untested risks.
Read the primary referenceLesson guide · Ready
Learn it. Check it. Try again.
11 original questions with worked explanations and source references. Filter by difficulty, revisit mistakes, and save your attempt as you go.
Open Software testing practiceBooks & references
Free reading at the publisher or author’s site. External materials keep their own licenses.
- Node.js test runnerNode.js project · documentation
Source & reuse terms
Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.
- pytest documentationpytest contributors · documentation
Source & reuse terms
Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.
- JUnit user guideJUnit team · documentation
Source & reuse terms
Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.
- Playwright introductionMicrosoft Playwright · documentation
Source & reuse terms
Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.
- Testing Library guiding principlesTesting Library contributors · documentation
Source & reuse terms
Free to read at the official provider. This catalog links to the source; it does not reproduce it or assert permission to redistribute it. Product use, hosted labs, and certificates may have separate costs.