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

test

package
v0.42.5 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type TestResult

type TestResult struct {
	cdcTests.Results
}

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