Hard Problem? Use Test Cases as Debug Aids
BLUF
Can't get the software to work?
The test cases are places to gather debugging details. Some simple tricks:
- Observability: add debugging outputs to the code
- Enable debugging output in failing test cases
- Make Failure an Option
The Detailed Example
I've been struggling to create an accurate emulation of the …