testutils

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chdir

func Chdir(t *testing.T) string

func Ptr

func Ptr[T any](v T) *T

func WriteRawNode

func WriteRawNode(t *testing.T, logicalName string, content string)

Types

type NodeBuilder

type NodeBuilder struct {
	// contains filtered or unexported fields
}

func CreateSpecNode

func CreateSpecNode(t *testing.T, logicalName string) *NodeBuilder

func (*NodeBuilder) AddDependsOn

func (b *NodeBuilder) AddDependsOn(value string)

func (*NodeBuilder) SetAgent

func (b *NodeBuilder) SetAgent(content string)

func (*NodeBuilder) SetInput

func (b *NodeBuilder) SetInput(value string)

func (*NodeBuilder) SetOutput

func (b *NodeBuilder) SetOutput(value string)

func (*NodeBuilder) SetPrivate

func (b *NodeBuilder) SetPrivate(content string)

func (*NodeBuilder) SetPublic

func (b *NodeBuilder) SetPublic(content string)

func (*NodeBuilder) Write

func (b *NodeBuilder) Write()

Jump to

Keyboard shortcuts

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