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
Click to show internal directories.
Click to hide internal directories.