Class gabarito.Context
Class defined in:lib/gabarito.js:1477
The context class is passed to each clause when it is run, also to the before and after functions.
It provides means to run tests asynchronously through the stay, go and going methods.
Index
Methods
going
( [block]
)
lib/gabarito.js:1608
Returns a function that when called, tells the context to resume the current clause and also passes the parameters along to the given function.
Just a syntatic sugar to avoid another nesting level.
Parameters:-
[block]
<Function>
stay
( [timeout]
)
lib/gabarito.js:1563
Tells the context to wait for an async continuation.
Parameters:-
[timeout]
<Number>Timeout before it breaks (defaults to 10000);