package
Version:
v1.0.54
Opens a new window with list of versions in this module.
Published: Dec 3, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type R struct {
Attempt int
}
R is passed to each run of a flaky test run, manages state and accumulates log statements.
func (r *R) Errorf(s string, v ...interface{})
Errorf is equivalent to Logf followed by Fail.
Fail marks the run as failed, and will retry once the function returns.
func (r *R) Logf(s string, v ...interface{})
Logf formats its arguments and records it in the error log.
The text is only printed for the final unsuccessful run or the first successful run.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.