A mature testing framework for Go designed to help you write expressive specs
Overall
score
97%
A utility package that provides functions to conditionally control test execution based on runtime environment conditions.
@generates
package validator
// SkipInCI conditionally skips the current test if running in a CI environment.
// Checks if the CI environment variable is set to "true".
// Must be called from within a test context.
func SkipInCI() {
// Implementation here
}
// SkipIfGoVersionBelow skips the current test if the Go version is below the specified minimum.
// Reads the GO_VERSION environment variable (e.g., "1.20.5") and compares major.minor version.
// Must be called from within a test context.
func SkipIfGoVersionBelow(major, minor int) {
// Implementation here
}
// RequireEnvVar fails the current test if the specified environment variable is not set or empty.
// Must be called from within a test context.
func RequireEnvVar(name string) {
// Implementation here
}Provides BDD testing framework with programmatic test control functions.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/golang-github-com-onsi-ginkgo-v2docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10