genfixtures

command
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Command genfixtures writes the canonical host-side protocol fixtures.

Fixtures are GENERATED rather than hand-written so they cannot drift from the types they claim to describe: a field renamed in pkg/modproto changes the fixture on the next run, and the diff is visible in review.

Under the cross-checked-fixture model these files are the binding mechanism between the three lanes. Each lane parses the others' fixtures in its own tests, so drift breaks a test rather than surfacing in production.

Regenerate with:

go run ./cmd/genfixtures

Every path in these fixtures is fake and relative. No absolute host path, machine-specific value, or real credential may appear in a fixture.

Jump to

Keyboard shortcuts

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