test

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Name string `json:"name"`
	Text string `json:"text"`
	Ok   bool   `json:"ok"`
}

Result represents script test result

type Runner

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

Runner represents the Test runner

func New

func New(scriptsManager scriptsManager,
	dsManager,
	storagesManager manager,
	coreModules []modules.ModuleTest,
	logger *zap.Logger,
) *Runner

New creates new test runner

func (*Runner) Run

func (rnr *Runner) Run() ([]modules.TestResult, bool, error)

Run the test runner

Jump to

Keyboard shortcuts

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