test

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Pkg is the Test package.
	Pkg = slip.Package{
		Name:      "test",
		Nicknames: []string{},
		Doc:       "Home of symbols defined for the test package.",
		PreSet:    slip.DefaultPreSet,
	}
)

Functions

func SuiteFlavor

func SuiteFlavor() *flavors.Flavor

SuiteFlavor returns the suite-flavor.

func TestFlavor

func TestFlavor() *flavors.Flavor

TestFlavor returns the test-flavor.

func TestableFlavor

func TestableFlavor() *flavors.Flavor

TestableFlavor returns the testable-flavor.

Types

type AssertEqual

type AssertEqual struct {
	slip.Function
}

AssertEqual represents the assert-equal function.

func (*AssertEqual) Call

func (f *AssertEqual) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type AssertMatch

type AssertMatch struct {
	slip.Function
}

AssertMatch represents the assert-match function.

func (*AssertMatch) Call

func (f *AssertMatch) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type AssertNil

type AssertNil struct {
	slip.Function
}

AssertNil represents the assert-nil function.

func (*AssertNil) Call

func (f *AssertNil) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type AssertPanic

type AssertPanic struct {
	slip.Function
}

AssertPanic represents the assert-panic function.

func (*AssertPanic) Call

func (f *AssertPanic) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Benchmark

type Benchmark struct {
	slip.Function
}

Benchmark represents the benchmark function.

func (*Benchmark) Call

func (f *Benchmark) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Defsuite

type Defsuite struct {
	slip.Function
}

Defsuite represents the defsuite function.

func (*Defsuite) Call

func (f *Defsuite) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type Deftest

type Deftest struct {
	slip.Function
}

Deftest represents the deftest function.

func (*Deftest) Call

func (f *Deftest) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type RefuteEqual

type RefuteEqual struct {
	slip.Function
}

RefuteEqual represents the refute-equal function.

func (*RefuteEqual) Call

func (f *RefuteEqual) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

type RefuteNil

type RefuteNil struct {
	slip.Function
}

RefuteNil represents the refute-nil function.

func (*RefuteNil) Call

func (f *RefuteNil) Call(s *slip.Scope, args slip.List, depth int) slip.Object

Call the function with the arguments provided.

Jump to

Keyboard shortcuts

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