Testing and debugging
Reproduce defects and choose evidence that can distinguish a repair.
Find evidence that distinguishes a repair from a passing result
A quantity update reports success while losing zero. A transaction importer returns healthy HTTP responses while storing the wrong cents or skipping a page after restart. You will use the required behavior to decide what evidence can reveal those defects.
Start with the small quantity bug, then investigate the supplied multi-module importer and review three proposed patches. The learning exercises discuss checks for application behavior. They do not change this guide’s automatic publishing workflow.
Parts group related chapters. Each lesson has a chapter.lesson address, such as 4.07. Open a title below, or use Next to follow the reading sequence. Within a lesson, On this page lists its sections.
- 7.01
Choose checks that reveal the behavior a change can break
Concepts and examples
- 7.02
Preserve zero when applying a quantity update
Concepts and examples
- 7.03
Repair decimal amounts and restart recovery in a transaction importer
Concepts and examples
- 7.04
Review three importer patches against data and retry contracts
Concepts and examples
- 7.05
- 7.06
- 7.07
- 7.08
- 7.09
- 7.10
Repair a transaction importer and explain each correction
Projects and practical assessment