
How It Works
- Qodex keeps a record of your last successful build for every test scenario.
- When a test fails, it compares the failure against the last success.
- If the change looks like a valid API evolution (e.g., status went from 201 → 200), the Auto-Healing Agent triggers.
- A “Fix Me” button appears in the build log UI. Click it to review and apply suggested fixes.
This only works if the test scenario has passed at least once before. If not, the system can’t determine what to “heal”.
Workflow
- Run tests → One fails due to a recent API change.
- Check Build Logs → You’ll see a diagnostic breakdown.
- If eligible, a “Fix Me” button appears.
- Click it → Qodex auto-generates a patch (e.g., updates a rule or modifies expected response).
- Accept and rerun. You’re good.
When It Doesn’t Work
- No successful build yet → Healing is skipped.
- The failure is unrelated to output (e.g., missing auth headers).
- Your test logic has complex dependencies (e.g., custom JS validations).