Documentation ¶
Index ¶
Constants ¶
This section is empty.
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.
func RenderTable ¶
func RenderTable(table *messages.PickleStepArgument_PickleTable) string
RenderTable provides the textual Gherkin representation of the given Gherkin table.
Types ¶
type ExecutedGitCommand ¶
type ExecutedGitCommand struct { // Branch contains the branch in which this command ran. Branch string // Command contains the command executed. Command string }
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.