testwrapper

command
v1.104.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2026 License: BSD-3-Clause Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Directories

Path Synopsis
Package flakytest contains test helpers for marking a test as flaky.
Package flakytest contains test helpers for marking a test as flaky.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL