Current section

Files

Jump to
gurka include gurka.hrl
Raw

include/gurka.hrl

-record(step, {
phase :: phase(),
action = [] :: action(),
tokens = [] :: tokens(),
row = 0 :: row(),
meta = [] :: meta()
}).
-type phase() :: feature | background | scenario | scenario_outline | meta.
-type action() :: skip | start | 'end' | desc | title | given | 'when' | then | examples | headers | values | tags | table | docstring.
-type tokens() :: [tokens() | binary() | {table, any()} | {docstring, any()}].
-type row() :: integer().
-type meta() :: [{atom(),term()}].
-type lines() :: [{row(), binary(), tokens()}].
-type feature() :: [#step{}].
-type result() :: [{ok | error | term(), #step{}} | result()].