ESpec v0.8.7 ESpec.ExampleHelpers
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
Summary
Macros
Macros for pending exaples
Example options 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
Macros
Adds example to @examples and defines function to wrap the spec.
Sends shared
’ variable to the example block.