testfixture

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package testfixture shares dependency-free conformance helpers across module tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertOutcome

func AssertOutcome(t *testing.T, test map[string]any, value any, err error)

AssertOutcome compares a reference result or expected failure.

func Load

func Load(t *testing.T) map[string]any

Load reads the pinned JSON fixture owned by the calling package.

func Normalize

func Normalize(value any) any

Normalize maps native values to the shared cross-language fixture representation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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