specfixtures

package
v0.24.2 Latest Latest
Warning

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

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

Documentation

Overview

Package specfixtures provides shared, embedded test fixtures for the V2 steplib steplibindex/indexgen packages — currently a small sample steplib clone exposed as an fs.FS.

It lives under internal/ so only this module can import it (consumers of the stepman module never see it), and it serves the fixtures via //go:embed so any package's tests can reach them regardless of the test's working directory — unlike a per-package testdata/ dir, which is only conveniently reachable from its own package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SteplibClone

func SteplibClone() fs.FS

SteplibClone returns the sample steplib clone (steplib.yml + steps/<id>/...) rooted so it can be passed straight to the indexgen generator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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