conditions

package
v0.0.0-...-77419e6 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Evaluate

func Evaluate(condition *specs.Condition, testStatus TestStatus) (bool, string)

Evaluate evaluates if a condition is true for the current test status. If the condition evaluates to false, the second return contains the reason.

Types

type TestStatus

type TestStatus interface {
	FailuresSoFarCount() int
}

Jump to

Keyboard shortcuts

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