View Source Kale.Macros (kale v0.8.1)
Macros, automatically imported by use Kale.
Summary
Functions
Generate a step definition matching a particular string and optionally a context map. See the module documentation for usage examples.
An alias for defgiven/2.
An alias for defgiven/2.
Generate a feature block, which corresponds to an ExUnit describe.
Generate a scenario block, which corresponds to an ExUnit test.
Functions
Generate a step definition matching a particular string and optionally a context map. See the module documentation for usage examples.
The given, when and then steps are actually interchangeable – the separate macros are provided for readability only.
An alias for defgiven/2.
An alias for defgiven/2.
Generate a feature block, which corresponds to an ExUnit describe.
Generate a scenario block, which corresponds to an ExUnit test.