ustest

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App wraps fxtest.App with ultrastructure-specific constructor helpers.

func New

func New(t testing.TB, nodes ...any) *App

New builds a us.New app from nodes and returns a test app.

func (*App) Fx

func (a *App) Fx() *fxtest.App

Fx exposes the underlying fxtest.App.

func (*App) RequireStart

func (a *App) RequireStart() *App

RequireStart starts the app and fails the test on error.

func (*App) RequireStop

func (a *App) RequireStop() *App

RequireStop stops the app and fails the test on error.

func (*App) RequiredStop

func (a *App) RequiredStop() *App

RequiredStop is an alias of RequireStop for convenience.

Jump to

Keyboard shortcuts

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