ESpec v1.6.0 ESpec.ExampleHelpers View Source
Defines macros ‘example’ and ‘it’. These macros defines function with random name which will be called when example runs. Example structs %ESpec.Example are accumulated in @examples attribute
Link to this section Summary
Functions
Macros for pending exaples
Example with description only
Adds example to @examples and defines function to wrap the spec.
Sends shared
’ variable to the example block
Macros for focused examples
alias for include_examples
Aliases for example
Defines examples using another module
Macros for skipped examples
Link to this section Functions
Macros for pending exaples.
Example with description only.
Adds example to @examples and defines function to wrap the spec.
Sends shared
’ variable to the example block.
Macros for focused examples.
alias for include_examples
Aliases for example
Defines examples using another module.
Macros for skipped examples.