unitcore

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 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 Context

type Context struct {
	RunList            []string
	RunAll             bool
	ApplicationContext application.Context
}

Context 是运行单元测试的上下文

type RunnerHolder

type RunnerHolder struct {
	Run func(ctx *Context) error
}

RunnerHolder ...

func (*RunnerHolder) AttributeName

func (inst *RunnerHolder) AttributeName() string

AttributeName ...

type UnitCore

type UnitCore struct {
	AC      application.Context //starter:inject("context")
	RunAll  bool                //starter:inject("${test.units.run-all}")
	RunList string              //starter:inject("${test.units.run-list}")
	// contains filtered or unexported fields
}

UnitCore ...

func (*UnitCore) Life

func (inst *UnitCore) Life() *application.Life

Life ...

Jump to

Keyboard shortcuts

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