package script
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
case class
BulletTemplate
(bullet: String = "*") extends ScriptTemplate[Scenario, GivenWhenThenLines] with Product with Serializable
The bullet template associates lines starting with
*and a keywordgiven/whenouthento given / when / then steps -
trait
GWT
extends StepParsers with Scripts
The GWT trait can be used to associate a piece of text to Given/When/Then steps according to the [BDD](http://en.wikipedia.org/wiki/Behavior-driven_development) way of describing acceptance criteria
- trait GWTLines extends AnyRef
- case class GivenLines (lines: Seq[String]) extends GWTLines with Product with Serializable
-
case class
GivenWhenThenLines
(lines: Seq[GWTLines] = Seq()) extends ScriptLines with Product with Serializable
Set of extracted lines from some text which are either: simple text, given text, when text or then text
-
case class
LastLinesScriptTemplate
() extends ScriptTemplate[Scenario, GivenWhenThenLines] with Product with Serializable
The LastLines template takes the number of given / when / then steps of the scenario and associate the last (non-empty) lines of the text with them
-
trait
Scenario
extends Script
A sequence of GWT steps.
- case class TextLines (lines: String) extends GWTLines with Product with Serializable
- case class ThenLines (lines: Seq[String]) extends GWTLines with Product with Serializable
- case class WhenLines (lines: Seq[String]) extends GWTLines with Product with Serializable
Value Members
- object GivenLines extends Serializable
- object TextLines extends Serializable
- object ThenLines extends Serializable
- object WhenLines extends Serializable