testutils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package testutils provides shared test helpers used across command packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupConfig

func SetupConfig(t *testing.T, cfg *config.Config) string

SetupConfig creates a temporary config file pre-populated with cfg. It sets GH_SECRETS_SYNC_CONFIG_FILE and registers a t.Cleanup to unset it. Returns the path to the config file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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