test

package
v1.0.0-beta01 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: Apache-2.0 Imports: 15 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,
	RunS:  run,
}

Functions

This section is empty.

Types

type Result

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

func (*Result) JSON

func (r *Result) JSON() any

func (*Result) Oneliner

func (r *Result) Oneliner() string

func (*Result) String

func (r *Result) String() string

Jump to

Keyboard shortcuts

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