structured_output

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqual

func AssertEqual(results map[string]string, testName, expected string) error

AssertEqual checks that the parsed output for testName matches expected exactly. Returns an error with a human-readable message on mismatch or missing result.

func Parse

func Parse(output string) map[string]string

Parse parses TEST:name / RESULT:value pairs from stdout. Returns a map from test name to result string. If the test driver crashes mid-run, already-emitted pairs are still returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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