presettest

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package presettest loads real preset graphs and runs scripted Runner smoke flows.

Integration tests import this package with //go:build integration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(t *testing.T, overlayPaths ...string) manager.Document

Load resolves L0 + overlays from the repo root.

func MustBuildRunner

func MustBuildRunner(t *testing.T, doc manager.Document) (agentkit.Runner, *build.Result)

MustBuildRunner constructs a Runner from a resolved document.

Types

type RunOnceResult

type RunOnceResult struct {
	Runner    agentkit.Runner
	Store     agentkit.SessionStore
	SessionID agentkit.SessionID
}

RunOnceResult captures artifacts from a single preset once-run.

func RunOnce

func RunOnce(t *testing.T, prompt string, overlayPaths ...string) RunOnceResult

RunOnce loads overlays, injects a CLI prompt, chdirs to repo root, and runs until exit.

Jump to

Keyboard shortcuts

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