Documentation ¶
Overview ¶
Execution can be of two types - Simple execution - Paralell execution Execution Flow : - Checks for updates - Validation - Init Registry - Saving Execution result Strategy - Lazy : Lazy is a parallelization strategy for execution. In this case tests assignment will be dynamic during execution, i.e. assign the next spec in line to the stream that has completed it’s previous execution and is waiting for more work. - Eager : Eager is a parallelization strategy for execution. In this case tests are distributed before execution, thus making them an equal number based distribution.
Index ¶
Constants ¶
const Eager string = "eager"
Eager is a parallelization strategy for execution. In this case tests are distributed before execution, thus making them an equal number based distribution.
const Lazy string = "lazy"
Lazy is a parallelization strategy for execution. In this case tests assignment will be dynamic during execution, i.e. assign the next spec in line to the stream that has completed it’s previous execution and is waiting for more work.
Variables ¶
var ExecuteTags = ""
var InParallel bool
InParallel if true executes the specs in parallel else in serial.
var NumberOfExecutionStreams int
NumberOfExecutionStreams shows the number of execution streams, in parallel execution.
var Strategy string
Functions ¶
func ExecuteSpecs ¶
ExecuteSpecs : Check for updates, validates the specs (by invoking the respective language runners), initiates the registry which is needed for console reporting, execution API and Rerunning of specs and finally saves the execution result as binary in .gauge folder.
func ListenSuiteEndAndSaveResult ¶ added in v0.8.5
ListenSuiteEndAndSaveResult listens to execution events and writes the failed scenarios to JSON file
func SetTableRows ¶ added in v0.8.4
func SetTableRows(tableRows string)
Types ¶
This section is empty.