Help us shape the future of Go! Take the 2026 Go Developer Survey

testhelpers

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempFile

func CreateTempFile(t *testing.T, ext string) *os.File

func OscalFromPath

func OscalFromPath(t *testing.T, path string) *oscalTypes.OscalCompleteSchema

func RunTestModelView added in v0.9.0

func RunTestModelView(t *testing.T, m tea.Model, reset func() tea.Model, msgs []tea.Msg, timeout time.Duration, maxRetries, height, width int) error

RunTestModelView runs a test model view with a given model and messages, impelements a retry loop if final model is nil

Types

This section is empty.

Jump to

Keyboard shortcuts

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