testfixtures

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package testfixtures resolves paths to files under the module's fixtures/ directory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(t *testing.T, parts ...string) []byte

Load reads a fixture file relative to fixtures/.

func Path

func Path(t *testing.T, parts ...string) string

Path joins repo fixtures/ with parts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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