testutil

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertContainerOutput

func AssertContainerOutput(t *testing.T, container *dagger.Container, expected string)

AssertContainerOutput runs a container and asserts its output contains the expected string

func CreateTempDir

func CreateTempDir(t *testing.T) string

CreateTempDir creates a temporary directory for test artifacts

func GetTestDataPath

func GetTestDataPath(t *testing.T) string

GetTestDataPath returns the absolute path to the testdata directory

func TestContext

func TestContext(t *testing.T) (context.Context, *dagger.Client)

TestContext creates a new Dagger client and context for testing

Types

This section is empty.

Jump to

Keyboard shortcuts

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