Regression Bisecting
When a feature used to work but is now broken, do not guess what broke it. Use binary search through git history to find the exact commit.
Protocol
- Define the Test: You must have a single command that returns exit code
0if good, and non-zero if bad. (e.g.,npm run test:reproornode repro.js). - Find a Known Good State: Ask the user or search git history for a commit where you are certain the feature worked.
- Find the Known Bad State: Typical
[Description truncada. Veja o README completo no GitHub.]