Documentation ¶
Index ¶
Constants ¶
View Source
const ( CommandTypeFrontend = CommandType("frontend") CommandTypeBackend = CommandType("backend") )
Variables ¶
This section is empty.
Functions ¶
func RenderExecutedGitCommands ¶
func RenderExecutedGitCommands(commands []ExecutedGitCommand, table *messages.PickleStepArgument_PickleTable) datatable.DataTable
RenderExecutedGitCommands provides the textual Gherkin table representation of the given executed Git commands. The DataTable table matches the structure of the given Gherkin table.
Types ¶
type CommandType ¶
type CommandType string
func (CommandType) String ¶
func (self CommandType) String() string
type ExecutedGitCommand ¶
type ExecutedGitCommand struct { // Branch contains the branch in which this command ran. Branch string // Command contains the command executed. Command string // frontend or backend CommandType CommandType }
ExecutedGitCommand describes a Git command that was executed by Git Town during testing.
func GitCommandsInGitTownOutput ¶
func GitCommandsInGitTownOutput(output string) []ExecutedGitCommand
GitCommandsInGitTownOutput provides the Git commands mentioned in the given Git Town output.
Click to show internal directories.
Click to hide internal directories.