Current section

Files

Jump to
white_bread lib white_bread gherkin gherkin.ex
Raw

lib/white_bread/gherkin/gherkin.ex

defmodule WhiteBread.Gherkin do
defmodule Elements do
defmodule Feature do
defstruct name: "",
description: "",
tags: [],
background_steps: [],
scenarios: []
end
defmodule Scenario do
defstruct name: "",
tags: [],
steps: []
end
defmodule ScenarioOutline do
defstruct name: "",
tags: [],
steps: [],
examples: []
end
defmodule Steps do
defmodule Given, do: defstruct text: "", table_data: [], doc_string: ""
defmodule When, do: defstruct text: "", table_data: [], doc_string: ""
defmodule Then, do: defstruct text: "", table_data: [], doc_string: ""
defmodule And, do: defstruct text: "", table_data: [], doc_string: ""
defmodule But, do: defstruct text: "", table_data: [], doc_string: ""
end
end
end