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

test

package
v1.20.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const TestReportCoverageKey = "coverage"

The key where coverage meta information for a test report in JSON format can be found.

View Source
const TestReportMetaKey = "meta"

The key where meta information for a test report in JSON format can be found.

View Source
const TestReportSeedKey = "seed"

The key where seed meta information for a test report in JSON format can be found.

Variables

View Source
var TestCommand = &command.Command{
	Cmd: &cobra.Command{
		Use:   "test [files...]",
		Short: "Run Cadence tests",
		Example: `# Run tests in files matching default pattern **/*_test.cdc
flow test

# Run tests in the specified files
flow test test1.cdc test2.cdc`,
		Args:    cobra.ArbitraryArgs,
		GroupID: "tools",
	},
	Flags: &testFlags,
	RunS:  run,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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