SelfHealingTests
SelfHealingTests is a concept in automated software testing that refers to test suites and test execution processes designed to adapt to changes in the system under test or its environment. When a test fails due to a non-functional change, self-healing tests attempt to repair the failure automatically or semi-automatically so that the overall test run can continue, reducing maintenance overhead and flakiness.
Techniques used include dynamic locator strategies for user interfaces, tolerant assertions that allow variance in non-critical
Self-healing can be applied at different levels, including unit, integration, and end-to-end tests, and may operate
Benefits include reduced manual maintenance, fewer flaky tests, and faster feedback in continuous integration pipelines. Risks
See also test automation, flaky tests, self-healing software.