Documentation
¶
Overview ¶
Package flakeguard allows you to quarantine tests that have been identified as flaky.
Index ¶
Constants ¶
View Source
const RunQuarantinedTestsEnvVar = "FLAKEGUARD_RUN_QUARANTINED_TESTS"
RunQuarantinedTestsEnvVar is the environment variable that controls whether to run quarantined tests. Set to true to run quarantined tests, false to skip them. This is helpful to keep track of tests' flakiness even when they are quarantined.
Variables ¶
This section is empty.
Functions ¶
func Quarantine ¶
Quarantine a test so that it is skipped during your CI/CD pipelines. You can still make the test run by setting FLAKEGUARD_RUN_QUARANTINED_TESTS to true.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package cmd is the home of the cobra commands for flakeguard.
|
Package cmd is the home of the cobra commands for flakeguard. |
flakeguard
command
Package main is the main package for the flakeguard command.
|
Package main is the main package for the flakeguard command. |
Package exit provides a way to exit the program with a specific exit code.
|
Package exit provides a way to exit the program with a specific exit code. |
Package git enables basic git operations.
|
Package git enables basic git operations. |
Package github provides information and ways to interact with GitHub.
|
Package github provides information and ways to interact with GitHub. |
Package golang enables ways to inspect and edit Go code.
|
Package golang enables ways to inspect and edit Go code. |
internal
|
|
testhelpers
Package testhelpers provides helpers for testing.
|
Package testhelpers provides helpers for testing. |
Package logging provides extensive logging options for flakeguard.
|
Package logging provides extensive logging options for flakeguard. |
Package report contains the logic for creating a report from test output.
|
Package report contains the logic for creating a report from test output. |
Click to show internal directories.
Click to hide internal directories.