mudtest

package
v0.0.0-...-5c8fa84 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run[Target any, TB testing.TB](tb TB, modules func(ball *mud.Ball), testRun func(ctx context.Context, tb TB, target Target))

Run executes mud test or benchmark with the give module, creating (and closing) Target and all transitive dependencies.

func WithTestLogger

func WithTestLogger(tb testing.TB, modules func(ball *mud.Ball)) func(ball *mud.Ball)

WithTestLogger utility to provide test logger for mud ball.

Types

This section is empty.

Jump to

Keyboard shortcuts

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