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 ¶ added in v0.7.0
FakeCommand is a command wrapper for testing.
func (FakeCommand) ToCmd ¶ added in v0.7.0
func (c FakeCommand) ToCmd() testingexec.FakeCmd
ToCmd converts FakeCommand to FakeCmd.
type FixtureFileNotFoundError ¶ added in v0.9.0
FixtureFileNotFoundError occurs when the requested fixture file does not exist.
func (FixtureFileNotFoundError) Error ¶ added in v0.9.0
func (e FixtureFileNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.