Documentation
¶
Overview ¶
testwrapper is a wrapper for go test that automatically retries failing tests to detect flakiness.
Any failed test is treated as potentially flaky and re-run within a per-test time budget (see the perAttempt* and perTestBudget constants). A test that fails and then later passes is reported as flaky. A test that never passes within the budget is a real failure and causes a non-zero exit.
The flakytest package's Mark API is no longer required for retries — it is kept for explicit issue tracking and for the TS_SKIP_FLAKY_TESTS skip behavior.
Click to show internal directories.
Click to hide internal directories.