dipxtest

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

ABOUTME: Test helper that packs real .dipx bundles for use in downstream tests. ABOUTME: Uses dipx.Pack directly — no synthetic ZIPs, no mocks (per CLAUDE.md).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MinimalDip

func MinimalDip(name, start, exit string) string

MinimalDip returns a tiny valid .dip source with the given workflow name, start node, and exit node. The two named nodes are bare codergen agents wired by a single edge from start to exit.

func PackTestBundle

func PackTestBundle(t *testing.T, entryPath string) string

PackTestBundle writes a real .dipx bundle to t.TempDir() that includes entryPath as the entry workflow. Returns the absolute path to the .dipx. Failures fail the test immediately via t.Fatalf.

Types

This section is empty.

Jump to

Keyboard shortcuts

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