A bugfix needs regression evidence
A regression check captures the behavior that failed and prevents the same defect from returning silently. Pair it with an adjacent positive scenario when the boundary is important.
Do not claim a regression result until the check has actually run.
| Evidence | Purpose |
|---|---|
| Reproduction | Shows the pre-fix failure |
| Regression case | Protects the repaired behavior |
| Adjacent case | Checks the nearby valid path |
| Diff review | Confirms the fix stayed narrow |
| Remaining risk | Makes limits visible |
Bugfix sequence
- Reproduce the failure.
- Add or identify a focused regression case.
- Make the minimal fix.
- Run regression and adjacent checks.
- Inspect the diff and changed files.
- Record actual output and remaining risk.
Bugfix handoff
Symptom: <failure>
Reproduction: <command or scenario>
Fix: <minimal change>
Checks run: <actual commands>
Result: <actual output>
Remaining risk: <list>
Status: documented example unless evidence is attached.Canonical lesson source · JavaRush
Open JavaRush material