test_ui

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTestCaseDescription

func GetTestCaseDescription(testCaseInfo TestCaseInfo) string

func MakeTestCaseInfo

func MakeTestCaseInfo(name string) testCaseInfo

func PrintTestCaseInfo

func PrintTestCaseInfo(testCaseInfo TestCaseInfo, description string)

Types

type TestCase

type TestCase[BLOB any] struct {
	// contains filtered or unexported fields
}

func MakeTestCase

func MakeTestCase[BLOB any](name string, blob BLOB) TestCase[BLOB]

func MakeTestCaseCallerSkip

func MakeTestCaseCallerSkip[BLOB any](name string, blob BLOB, callerSkip int) TestCase[BLOB]

MakeTestCaseCallerSkip is for re-export wrappers that add call frames.

func (TestCase[BLOB]) GetBlob

func (testCase TestCase[BLOB]) GetBlob() BLOB

func (TestCase) GetName

func (testCase TestCase) GetName() string

func (TestCase) GetStackFrame

func (testCase TestCase) GetStackFrame() stack_frame.Frame

type TestCaseInfo

type TestCaseInfo interface {
	GetName() string
	GetStackFrame() stack_frame.Frame
}

Source Files

  • test_case.go

Jump to

Keyboard shortcuts

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