Documentation ¶
Index ¶
Constants ¶
View Source
const ( //AppName defines the app name AppName = "Commander" //CommanderFile holds the default config file which is loaded CommanderFile = "commander.yaml" )
Variables ¶
This section is empty.
Functions ¶
func AddCommand ¶
AddCommand executes the add command command is the command which should be added to the test suite existed holds the existing yaml content
func TestCommand ¶
func TestCommand(file string, title string, ctx AddCommandContext) error
TestCommand executes the test argument file is the path to the configuration file title ist the title of test which should be executed, if empty it will execute all tests ctx holds the command flags
Types ¶
type AddCommandContext ¶
AddCommandContext holds all flags for the add command
func NewAddContextFromCli ¶
func NewAddContextFromCli(c *cli.Context) AddCommandContext
NewAddContextFromCli is a constructor which creates the context
Click to show internal directories.
Click to hide internal directories.