test

package
v0.0.0-...-dc7611c Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFxTestApp

func CreateFxTestApp(
	tb fxtest.TB,
	provides []interface{},
	decorates []interface{},
	invokes []interface{},
	options []fx.Option,
	logger logger.Logger,
	environment environemnt.Environment,
) *fxtest.App

func NewTestApplication

func NewTestApplication(
	tb fxtest.TB,
	provides []interface{},
	decorates []interface{},
	options []fx.Option,
	logger logger.Logger,
	env environemnt.Environment,
) contracts.Application

Types

type TestApplicationBuilder

type TestApplicationBuilder struct {
	contracts.ApplicationBuilder
	TB fxtest.TB
}

func NewTestApplicationBuilder

func NewTestApplicationBuilder(tb fxtest.TB) *TestApplicationBuilder

func (*TestApplicationBuilder) Build

Jump to

Keyboard shortcuts

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