Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CommandTypeFrontend = CommandType{"frontend"} //nolint:gochecknoglobals CommandTypeBackend = CommandType{"backend"} //nolint:gochecknoglobals )
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 CommandType ¶
type CommandType struct {
// contains filtered or unexported fields
}
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.