Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitRegistry ¶
func InitRegistry()
InitRegistry is used for console reporting, execution API and rerun of specs
func Notify ¶
func Notify(e ExecutionEvent)
Notify notifies all the subscribers of the event about its occurrence
func Register ¶
func Register(ch chan ExecutionEvent, topics ...Topic)
Register registers the given channel to the given list of topics. Any updates for the given topics will be sent on this channel
Types ¶
type ExecutionEvent ¶
type ExecutionEvent struct { Topic Topic Item gauge.Item Result result.Result Stream int ExecutionInfo gauge_messages.ExecutionInfo }
ExecutionEvent represents an event raised during various phases of the execution lifecycle. This is only for execution and excludes parsing, validation, etc.
func NewExecutionEvent ¶
func NewExecutionEvent(t Topic, i gauge.Item, r result.Result, stream int, executionInfo gauge_messages.ExecutionInfo) ExecutionEvent
NewExecutionEvent creates a new execution event.
Click to show internal directories.
Click to hide internal directories.