Learn how TestDriver’s auto-healing feature keeps your tests resilient and up-to-date with minimal manual effort.
--heal
to enable auto-healing in your test runs. This feature allows TestDriver to automatically update tests when minor changes occur, such as text updates or small UI adjustments, without requiring manual intervention.
--heal
and --write
flags when running your tests. The --heal
flag instructs TestDriver to attempt to automatically update any failing tests due to minor changes in the application, while --write
ensures the updated test files are saved.
--heal
and --write
, TestDriver will update the test files locally with any changes made during auto-healing. You can then use GitHub Actions to commit these changes and create a pull request for review.
Initial Test
Application Update
Test Execution
Auto-Healing
Test Update
Commit and PR Creation
auto-heal-update-submit-to-send
Auto-Healed Test: Updated "Submit" to "Send"