test

package
v0.0.0-...-5599ccc Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(m *testing.M)

func Run

func Run(t *testing.T, files string, f TestFunc)

Types

type Runner

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

func (*Runner) Close

func (r *Runner) Close() error

Close cleans up resource that have been allocated to this workspace.

func (*Runner) Run

func (r *Runner) Run(t *testing.T, files string, test TestFunc, opts ...integration.RunOption)

Run executes the test function in the default configured gopls execution modes. For each a test run, a new workspace is created containing the un-txtared files specified by filedata.

type TestFunc

type TestFunc func(t *testing.T, env *integration.Env)

Directories

Path Synopsis
marker
expect
Translation of go/expect/extract.go for protobuf sources
Translation of go/expect/extract.go for protobuf sources

Jump to

Keyboard shortcuts

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