Package

org.specs2.specification

script

Permalink

package script

Visibility
  1. Public
  2. All

Type Members

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

    Permalink

    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

    Permalink

    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

  3. trait GWTLines extends AnyRef

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

    Permalink
  5. case class GivenWhenThenLines(lines: Vector[GWTLines] = Vector()) extends ScriptLines with Product with Serializable

    Permalink

    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

    Permalink

    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

    Permalink

    A sequence of GWT steps.

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

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

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

    Permalink

Value Members

  1. object GivenLines extends Serializable

    Permalink
  2. object TextLines extends Serializable

    Permalink
  3. object ThenLines extends Serializable

    Permalink
  4. object WhenLines extends Serializable

    Permalink

Ungrouped