Cucumis

A Cucumber and Gherkin implementation for Erlang.

Features

Parsing

2> cucumis:parse("test/files/guess_the_word.feature").
#{name => <<"Guess the word">>,
  rules =>
      [#{scenarios =>
             [#{name => <<"Maker starts a game">>,type => scenario,
                steps =>
                    [{&#39;when&#39;,<<"the Maker starts a game">>,[]},
                     {then,<<"the Maker waits for a Breaker to join">>,[]}]},
              #{name => <<"Breaker joins a game">>,type => scenario,
                steps =>
                    [{given,<<"the Maker has started a game with the word \"silky\"">>,
                            []},
                     {&#39;when&#39;,<<"the Breaker joins the Maker&#39;s game">>,[]},
                     {then,<<"the Breaker must guess a word with 5 characters">>,
                           []}]}]}]}

Running Feature Tests

EUnit

TBD

Common Test

TBD

Manual

TBD