Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandAssertion ¶
func NewCommandAssertion(t *testing.T, opts ...CommandAssertionOption)
Types ¶
type CommandAssertion ¶
type CommandAssertion struct {
// contains filtered or unexported fields
}
type CommandAssertionOption ¶
type CommandAssertionOption func(c *CommandAssertion)
func CommandAssertionArgs ¶
func CommandAssertionArgs(args ...string) CommandAssertionOption
func CommandAssertionCommand ¶
func CommandAssertionCommand(command *cobra.Command) CommandAssertionOption
func CommandAssertionExpectation ¶
func CommandAssertionExpectation(expectation string) CommandAssertionOption
func CommandAssertionReports ¶
func CommandAssertionReports(report ...interface{}) CommandAssertionOption
Click to show internal directories.
Click to hide internal directories.