suite

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MimeText = modulessuite.MimeText
	MimeJSON = modulessuite.MimeJSON
)

Variables

This section is empty.

Functions

func RunMain

func RunMain(m *testing.M) int

Types

type AfterAllHook

type AfterAllHook[Shared any] = modulessuite.AfterAllHook[Shared]

type AfterEachHook

type AfterEachHook[Shared, Deps, Case any] = modulessuite.AfterEachHook[Shared, Deps, Case]

type BeforeAllHook

type BeforeAllHook[Shared any] = modulessuite.BeforeAllHook[Shared]

type BeforeEachHook

type BeforeEachHook[Shared, Deps, Case any] = modulessuite.BeforeEachHook[Shared, Deps, Case]

type CaseRunner

type CaseRunner[Shared, Deps, Case any] = modulessuite.CaseRunner[Shared, Deps, Case]

type Hooks

type Hooks[Shared, Deps, Case any] = modulessuite.Hooks[Shared, Deps, Case]

type LifecycleT

type LifecycleT[Shared any] = modulessuite.LifecycleT[Shared]

type Option

type Option[Shared, Deps, Case any] = modulessuite.Option[Shared, Deps, Case]

func Use

func Use[Shared, Deps, Case any](hooks Hooks[Shared, Deps, Case]) Option[Shared, Deps, Case]

func WithAfterAll

func WithAfterAll[Shared, Deps, Case any](hook AfterAllHook[Shared]) Option[Shared, Deps, Case]

func WithAfterEach

func WithAfterEach[Shared, Deps, Case any](hook AfterEachHook[Shared, Deps, Case]) Option[Shared, Deps, Case]

func WithBeforeAll

func WithBeforeAll[Shared, Deps, Case any](hook BeforeAllHook[Shared]) Option[Shared, Deps, Case]

func WithBeforeEach

func WithBeforeEach[Shared, Deps, Case any](hook BeforeEachHook[Shared, Deps, Case]) Option[Shared, Deps, Case]

func WithCaseRunner

func WithCaseRunner[Shared, Deps, Case any](runner CaseRunner[Shared, Deps, Case]) Option[Shared, Deps, Case]

func WithParallel

func WithParallel[Shared, Deps, Case any](enabled bool) Option[Shared, Deps, Case]

type Reporter

type Reporter = modulessuite.Reporter

type Suite

type Suite[Shared, Deps, Case any] = modulessuite.Suite[Shared, Deps, Case]

func New

func New[Shared, Deps, Case any](opts ...Option[Shared, Deps, Case]) *Suite[Shared, Deps, Case]

type T

type T[Shared, Deps, Case any] = modulessuite.T[Shared, Deps, Case]

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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