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

Self Type
GWT with FragmentsFactory
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GWT
  2. Scripts
  3. StepParsers
  4. ImplicitParameters
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait ImplicitParam extends AnyRef
    Definition Classes
    ImplicitParameters
  2. trait ImplicitParam1 extends AnyRef
    Definition Classes
    ImplicitParameters
  3. trait ImplicitParam10 extends AnyRef
    Definition Classes
    ImplicitParameters
  4. trait ImplicitParam2 extends AnyRef
    Definition Classes
    ImplicitParameters
  5. trait ImplicitParam3 extends AnyRef
    Definition Classes
    ImplicitParameters
  6. trait ImplicitParam4 extends AnyRef
    Definition Classes
    ImplicitParameters
  7. trait ImplicitParam5 extends AnyRef
    Definition Classes
    ImplicitParameters
  8. trait ImplicitParam6 extends AnyRef
    Definition Classes
    ImplicitParameters
  9. trait ImplicitParam7 extends AnyRef
    Definition Classes
    ImplicitParameters
  10. trait ImplicitParam8 extends AnyRef
    Definition Classes
    ImplicitParameters
  11. trait ImplicitParam9 extends AnyRef
    Definition Classes
    ImplicitParameters
  12. case class GWTGivens[GT <: HList, GTE <: HList, GTU](title: String, template: ScriptTemplate[Scenario, GivenWhenThenLines], givenExtractors: GTE = HNil, isStart: Boolean = true) extends Scenario with Product with Serializable

    GT = Given types, types of extracted values for then steps GTE = Given extractor types, types of extractor functions WT = When types, types of extracted values for when steps WTR = When result types, after mapping WTE = When extractor types WM = Mapping functions types TTE = Then types extractors VE = verification types for then steps

  13. case class GWTStart(title: String, template: ScriptTemplate[Scenario, GivenWhenThenLines], isStart: Boolean = true) extends Scenario with Product with Serializable

    Start of a scenario

  14. case class GWTThens[GT <: HList, GTE <: HList, GTU, WT <: HList, WTR <: HList, WTE <: HList, WM <: HList, WTU, TTE <: HList, VE <: HList](whens: (GWT.this)#GWTWhens[GT, GTE, GTU, WT, WTR, WTE, WM, WTU], thenExtractors: TTE, verifications: VE, isStart: Boolean = true) extends Scenario with Product with Serializable
  15. case class GWTThensApply[T, GT <: HList, GTE <: HList, GTU, WT <: HList, WTR <: HList, WTE <: HList, WM <: HList, WMU, TTE <: HList, VE <: HList](whens: (GWT.this)#GWTWhens[GT, GTE, GTU, WT, WTR, WTE, WM, WMU], thenExtractors: TTE, verifications: VE) extends Product with Serializable
  16. case class GWTWhens[GT <: HList, GTE <: HList, GTU, WT <: HList, WTR <: HList, WTE <: HList, WM <: HList, WMU](givens: (GWT.this)#GWTGivens[GT, GTE, GTU], whenExtractors: WTE, mappers: WM, isStart: Boolean = true) extends Scenario with Product with Serializable
  17. case class GWTWhensApply[T, GT <: HList, GTE <: HList, GTU, WT <: HList, WTR <: HList, WTE <: HList, WM <: HList, WMU](givens: (GWT.this)#GWTGivens[GT, GTE, GTU], whenExtractors: WTE, mappers: WM) extends Product with Serializable
  18. case class Mapper[T, P <: HList, U, R](f1: Option[(::[T, P]) ⇒ R] = None, f2: Option[(T, Seq[U]) ⇒ R] = None) extends Product with Serializable
  19. case class VerifyFunction[T, P <: HList, U, R](f1: Option[(::[T, P]) ⇒ R] = None, f2: Option[(T, Seq[U]) ⇒ R] = None)(implicit evidence$1: AsResult[R]) extends Product with Serializable
  20. class ReadAs extends AnyRef

    This class creates Given or Then extractors from a regular expression and a function

    This class creates Given or Then extractors from a regular expression and a function

    Definition Classes
    StepParsers

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. val ::: shapeless.::.type

    renaming of the shapeless cons object to avoid imports

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def apply[T](f: (String, String, String, String, String, String, String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]
    Definition Classes
    StepParsers
  6. def apply[T](f: (String, String, String, String, String, String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]
    Definition Classes
    StepParsers
  7. def apply[T](f: (String, String, String, String, String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]
    Definition Classes
    StepParsers
  8. def apply[T](f: (String, String, String, String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]
    Definition Classes
    StepParsers
  9. def apply[T](f: (String, String, String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]
    Definition Classes
    StepParsers
  10. def apply[T](f: (String, String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]
    Definition Classes
    StepParsers
  11. def apply[T](f: (String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]
    Definition Classes
    StepParsers
  12. def apply[T](f: (String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]
    Definition Classes
    StepParsers
  13. def apply[T](f: (String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]
    Definition Classes
    StepParsers
  14. def apply[T](f: (String) ⇒ T)(implicit fpr: Regex = stepParserRegex): DelimitedStepParser[T]
    Definition Classes
    StepParsers
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. val executionEnv: ExecutionEnv
  20. val extract: StepParser.type
    Definition Classes
    StepParsers
  21. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def groupAs(groupRegex: String): (GWT.this)#ReadAs

    factory method to create a Given or a Then element from a regex, using a regex denoting groups to extract

    factory method to create a Given or a Then element from a regex, using a regex denoting groups to extract

    Definition Classes
    StepParsers
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. implicit lazy val implicitParameter: (GWT.this)#ImplicitParam
    Definition Classes
    ImplicitParameters
  26. implicit lazy val implicitParameter1: (GWT.this)#ImplicitParam1
    Definition Classes
    ImplicitParameters
  27. implicit lazy val implicitParameter10: (GWT.this)#ImplicitParam10
    Definition Classes
    ImplicitParameters
  28. implicit lazy val implicitParameter2: (GWT.this)#ImplicitParam2
    Definition Classes
    ImplicitParameters
  29. implicit lazy val implicitParameter3: (GWT.this)#ImplicitParam3
    Definition Classes
    ImplicitParameters
  30. implicit lazy val implicitParameter4: (GWT.this)#ImplicitParam4
    Definition Classes
    ImplicitParameters
  31. implicit lazy val implicitParameter5: (GWT.this)#ImplicitParam5
    Definition Classes
    ImplicitParameters
  32. implicit lazy val implicitParameter6: (GWT.this)#ImplicitParam6
    Definition Classes
    ImplicitParameters
  33. implicit lazy val implicitParameter7: (GWT.this)#ImplicitParam7
    Definition Classes
    ImplicitParameters
  34. implicit lazy val implicitParameter8: (GWT.this)#ImplicitParam8
    Definition Classes
    ImplicitParameters
  35. implicit lazy val implicitParameter9: (GWT.this)#ImplicitParam9
    Definition Classes
    ImplicitParameters
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. def readAs(regex: String): (GWT.this)#ReadAs

    factory method to create a Given or a Then element from a regex

    factory method to create a Given or a Then element from a regex

    Definition Classes
    StepParsers
  41. implicit def scriptIsInterpolatedFragment(script: Script): InterpolatedFragment

    a sequence of GWT steps can be inserted in a specification to delimit pieces of text to interpret.

    a sequence of GWT steps can be inserted in a specification to delimit pieces of text to interpret. The "given/when" steps create execute.Step objects while the "then" steps create Examples

    The whole sequence also creates one tagged section with the title of the sequence

    Definition Classes
    Scripts
  42. def seq[T](f: (Seq[String]) ⇒ T)(implicit fpr: Regex = stepParserRegex): DelimitedStepParser[T]
    Definition Classes
    StepParsers
  43. implicit lazy val stepParserRegex: Regex
    Definition Classes
    StepParsers
  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  49. object Scenario

    start a sequence of GWT steps by default the scenario template that is used is considering the last lines before the scenario end to form the given/when/then steps

Inherited from Scripts

Inherited from StepParsers

Inherited from ImplicitParameters

Inherited from AnyRef

Inherited from Any

Ungrouped