Documentation
¶
Overview ¶
Package goldentest implements golden test related subcommands.
Package goldentest implements golden test related subcommands.
Package goldentest implements golden test related subcommands.
Package goldentest implements golden test related subcommands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flags ¶
type Flags struct { // Test name is the name of the test case to record or verify. If no test // name is specified, all gold tests will be run against. // // Optional. TestName string // Location is the file system location of the template to be tested. // // Example: t/rest_server. Location string }
Flags describes the template location and the test case.
type RecordCommand ¶
type RecordCommand struct { cli.BaseCommand // contains filtered or unexported fields }
func (*RecordCommand) Desc ¶
func (c *RecordCommand) Desc() string
func (*RecordCommand) Flags ¶
func (c *RecordCommand) Flags() *cli.FlagSet
func (*RecordCommand) Help ¶
func (c *RecordCommand) Help() string
type TestCase ¶
type TestCase struct { // Name of the test case. // Example: nextjs_with_auth0_idp. TestName string // Config of the test case. TestConfig *goldentest.Test }
TestCase describes a template golden test case.
type VerifyCommand ¶
type VerifyCommand struct { cli.BaseCommand // contains filtered or unexported fields }
func (*VerifyCommand) Desc ¶
func (c *VerifyCommand) Desc() string
func (*VerifyCommand) Flags ¶
func (c *VerifyCommand) Flags() *cli.FlagSet
func (*VerifyCommand) Help ¶
func (c *VerifyCommand) Help() string
Click to show internal directories.
Click to hide internal directories.