Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadFixture ¶
LoadFixture loads the content of a fixture file.
func NewExecutor ¶
func NewExecutor(commands []FakeCommand) *testingexec.FakeExec
NewExecutor is a factory for Commander testing.
Types ¶
type FakeCommand ¶
FakeCommand is a command wrapper for testing.
func (FakeCommand) ToCmd ¶
func (c FakeCommand) ToCmd() testingexec.FakeCmd
ToCmd converts FakeCommand to FakeCmd.
type FixtureFileNotFoundError ¶
FixtureFileNotFoundError occurs when the requested fixture file does not exist.
func (FixtureFileNotFoundError) Error ¶
func (e FixtureFileNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.