should

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NOT negated

Functions

func BeFalse

func BeFalse(actual any, _ ...any) error

func BeNil

func BeNil(actual any, _ ...any) error

func BeTrue

func BeTrue(actual any, _ ...any) error

func Equal

func Equal(actual any, expected ...any) error

func RunTests added in v1.2.0

func RunTests(fixturePointer any, t *testing.T)

RunTests is a minimal xUnit-style test runner for Go: https://www.smarty.com/blog/lets-build-xunit-in-go

func So

func So(t *testing.T, actual any, assertion assertion, expected ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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