org.specs2.specification

script

package script

Visibility
  1. Public
  2. All

Type Members

  1. case class BulletTemplate(bullet: String = "*") extends ScriptTemplate[Scenario, GivenWhenThenLines] with Product with Serializable

    The bullet template associates lines starting with * and a keyword given / when ou then to given / when / then steps

  2. 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.

  3. trait GWTLines extends AnyRef

  4. case class GivenLines(lines: Seq[String]) extends GWTLines with Product with Serializable

  5. case class GivenWhenThenLines(lines: Seq[GWTLines] = ...) 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

  6. 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

  7. trait Scenario extends Script

    A sequence of GWT steps.

  8. case class TextLines(lines: String) extends GWTLines with Product with Serializable

  9. case class ThenLines(lines: Seq[String]) extends GWTLines with Product with Serializable

  10. case class WhenLines(lines: Seq[String]) extends GWTLines with Product with Serializable

Value Members

  1. object GivenLines extends Serializable

  2. object TextLines extends Serializable

  3. object ThenLines extends Serializable

  4. object WhenLines extends Serializable

Ungrouped