test

package
v0.46.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 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),
		GroupID: "tools",
	},
	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