skip

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package skip contains logic for determining if a test should be skipped.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Skip

func Skip(t, include, exclude map[string]string) (bool, string)

Skip evaluates a test's labels against a set of labels that should be included in the test run and a set of labels that should be excluded from the test run. If both inclusion and exclusion labels are provided, exclusion is evaluated last. This allows defining buckets of tests to run which exclude undesirable subsets, e.g.:

	Include: size=small
 Exclude: flaky=true

Will execute all of the 'small' tests while skipping any tests that are marked flaky.

Types

This section is empty.

Jump to

Keyboard shortcuts

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