Help us shape the future of Go! Take the 2026 Go Developer Survey

test

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "Run .phpt test fixtures"

Name is the command title.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cli.Command

func Run

func Run(ctx context.Context, args []string, opts Options) error

Run executes .phpt test fixtures matching the provided paths or patterns.

Types

type Options

type Options struct {
	JSON       bool
	Matrix     bool
	Verbose    bool
	Count      int
	Time       time.Duration
	Profile    bool
	CPUProfile string
	MemProfile string
}

Options holds CLI flag options for the test command.

Jump to

Keyboard shortcuts

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