testrunner

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Suffix = "_test.lsc"

Variables

This section is empty.

Functions

func ColorAuto

func ColorAuto(w io.Writer) bool

func Discover

func Discover(paths []string) ([]string, error)

Types

type FileResult

type FileResult struct {
	Path     string
	Results  []testx.Result
	Err      error
	Aborted  bool
	Duration time.Duration
}

type Options

type Options struct {
	Paths           []string
	Filter          string
	Verbose         bool
	FailFast        bool
	List            bool
	Color           bool
	Out             io.Writer
	RegisterNatives func(*vm.VM)
}

type Summary

type Summary struct {
	Files      int
	Passed     int
	Failed     int
	Skipped    int
	FileErrors int
	Duration   time.Duration
}

func Run

func Run(opts Options) (Summary, error)

func (Summary) OK

func (s Summary) OK() bool

Jump to

Keyboard shortcuts

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