step

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAssertObjectFromExpressions

func BuildAssertObjectFromExpressions(assertExpr []string) ([]*app.Assertion, error)

BuildAssertObjectFromExpressions converts CLI --assert expressions into []app.Assertion. Valid forms:

exists   <jsonpath|xpath>
equals   <jsonpath|xpath> <value>
contains <jsonpath|xpath> <value>
isNot    <jsonpath|xpath> <value>

Supports both JSONPath ($.path) and XPath (/path)

@AI

func BuildExportsFromExpressions

func BuildExportsFromExpressions(exportExpr []string) (app.Exports, error)

BuildExportsFromExpressions converts CLI --export expressions into app.Exports. Valid form: "varname jsonpath" Example: "user_id $.data.user_id"

func SetupStepCommands

func SetupStepCommands(rootCmd *cobra.Command)

Types

This section is empty.

Jump to

Keyboard shortcuts

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