Medlar/docs/tests/_TEMPLATE.md
2026-11-25 13:21:10 -06:00

1 KiB

SNNN — {{TITLE}}: test file

Written by the worker that built it, run by the test phase. Nothing here has been tested until its Result says so.

Built

{{Files and main functions, one line each: path · what it does. How to reach it: screen, command or call.}}

Checks

Risk: HIGH = data loss, security, crash, wrong result · MED = feature broken · LOW = looks or comfort. How: unit · integration · screen · by hand.

# Risk Do this Expect How Result
1 HIGH {{exact input or steps}} {{exact outcome}} {{unit}} —

Cover: the normal path, empty and huge input, bad input, the dependency failing or missing, stop and restart in the middle, two at once, old data still opening. Leave out what cannot happen here.

Needs

{{Fixtures, stubs, servers, ports, a throwaway home; what must never be touched (real accounts, real devices, public servers).}}

Doubts

{{What the author is least sure of, shortcuts taken, existing tests this change may break. Most valuable section: never leave it out.}}