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

test

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:     "test <filename>",
	Short:   "Run Cadence tests",
	Example: `flow test script.cdc`,
	Args:    cobra.MinimumNArgs(1),
	GroupID: "tools",
}
View Source
var TestCommand = &command.Command{
	Cmd:   Cmd,
	Flags: &testFlags,
	Run:   run,
}

Functions

This section is empty.

Types

type TestResult

type TestResult struct {
	Results        map[string]cdcTests.Results
	CoverageReport *runtime.CoverageReport
}

func (*TestResult) JSON

func (r *TestResult) JSON() any

func (*TestResult) Oneliner

func (r *TestResult) Oneliner() string

func (*TestResult) String

func (r *TestResult) String() string

Jump to

Keyboard shortcuts

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