ESpec v1.6.0 ESpec.Context View Source
Defines macros ‘context’, ‘describe’, and ‘example_group’. Defines macros for ‘skip’ and ‘focus’ example groups
Link to this section Summary
Functions
Context has description, line, and options. Available options are:
- [skip: true] or [skip: “Reason”] - skips examples in the context;
- [focus: true] - sets focus to run with
--focus
option
empty context
context with description only
Add context with description and opts to ‘example context’
Aliases for context
Macros for focused contexts
Macros for skipped contexts
Link to this section Functions
Context has description, line, and options. Available options are:
- [skip: true] or [skip: “Reason”] - skips examples in the context;
- [focus: true] - sets focus to run with
--focus
option.
empty context
context with description only
Add context with description and opts to ‘example context’.
Aliases for context
.
Macros for focused contexts
Macros for skipped contexts