What problem does it solve?
It helps you quickly restore confidence in the LinkMerce codebase when tests fail by guiding you to reproduce the issue, pinpoint the smallest reliable fix, and update tests without unnecessary refactoring.
Core Features & Use Cases
- Failure reproduction & diagnosis: Reproduce the failing behavior first, then trace the smallest relevant implementation path and nearby tests.
- Minimal safe fixes: Determine whether the issue is in the test, implementation, or their boundary, and apply the smallest change that makes the failure go away.
- Regression protection: Add or update a test only when the bug is real and reproducible, preserving existing naming/layout unless there is a strong reason to change it.
- Re-validation guidance: Re-run the most relevant validation step to ensure the change matches the intended fix.
Quick Start
Use linkmerce-test-triage to debug a failing test in src/tests by reproducing the failure, locating the minimal code/test mismatch, applying the smallest fix, and then re-running the affected test suite to confirm the resolution.