Packages
Story BDD tool based on cucumber. Parses Gherkin formatted feature files and executes them as tests.
Current section
Files
Jump to
Current section
Files
lib/white_bread/step.ex
defmodule WhiteBread.Step do
alias WhiteBread.Context.StepFunction
def given_(text, func), do: StepFunction.new(text, func)
def when_(text, func), do: StepFunction.new(text, func)
def then_(text, func), do: StepFunction.new(text, func)
def and_(text, func), do: StepFunction.new(text, func)
def but_(text, func), do: StepFunction.new(text, func)
def _(text, func), do: StepFunction.new(text, func)
end