Trait

org.specs2.specification.script

GWT

Related Doc: package script

Permalink

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
Scripts, StepParsers, ImplicitParameters, AnyRef, Any
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. 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

    Permalink

    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

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

    Permalink

    Start of a scenario

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

    Permalink
  4. 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

    Permalink
  5. 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

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

    Permalink
  7. trait ImplicitParam extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  8. trait ImplicitParam1 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  9. trait ImplicitParam10 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  10. trait ImplicitParam2 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  11. trait ImplicitParam3 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  12. trait ImplicitParam4 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  13. trait ImplicitParam5 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  14. trait ImplicitParam6 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  15. trait ImplicitParam7 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  16. trait ImplicitParam8 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  17. trait ImplicitParam9 extends AnyRef

    Permalink
    Definition Classes
    ImplicitParameters
  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

    Permalink
  19. class ReadAs extends AnyRef

    Permalink
    Definition Classes
    StepParsers
  20. 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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. val ::: shapeless.::.type

    Permalink

    renaming of the shapeless cons object to avoid imports

  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. object Scenario

    Permalink

    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

  6. def apply[T](f: (String, String, String, String, String, String, String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]

    Permalink
    Definition Classes
    StepParsers
  7. def apply[T](f: (String, String, String, String, String, String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]

    Permalink
    Definition Classes
    StepParsers
  8. def apply[T](f: (String, String, String, String, String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]

    Permalink
    Definition Classes
    StepParsers
  9. def apply[T](f: (String, String, String, String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]

    Permalink
    Definition Classes
    StepParsers
  10. def apply[T](f: (String, String, String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]

    Permalink
    Definition Classes
    StepParsers
  11. def apply[T](f: (String, String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]

    Permalink
    Definition Classes
    StepParsers
  12. def apply[T](f: (String, String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]

    Permalink
    Definition Classes
    StepParsers
  13. def apply[T](f: (String, String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]

    Permalink
    Definition Classes
    StepParsers
  14. def apply[T](f: (String, String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]

    Permalink
    Definition Classes
    StepParsers
  15. def apply[T](f: (String) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]

    Permalink
    Definition Classes
    StepParsers
  16. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. val executionEnv: ExecutionEnv

    Permalink
  21. val extract: StepParser.type

    Permalink
    Definition Classes
    StepParsers
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def groupAs(groupRegex: String): (GWT.this)#ReadAs

    Permalink
    Definition Classes
    StepParsers
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. implicit lazy val implicitParameter: (GWT.this)#ImplicitParam

    Permalink
    Definition Classes
    ImplicitParameters
  27. implicit lazy val implicitParameter1: (GWT.this)#ImplicitParam1

    Permalink
    Definition Classes
    ImplicitParameters
  28. implicit lazy val implicitParameter10: (GWT.this)#ImplicitParam10

    Permalink
    Definition Classes
    ImplicitParameters
  29. implicit lazy val implicitParameter2: (GWT.this)#ImplicitParam2

    Permalink
    Definition Classes
    ImplicitParameters
  30. implicit lazy val implicitParameter3: (GWT.this)#ImplicitParam3

    Permalink
    Definition Classes
    ImplicitParameters
  31. implicit lazy val implicitParameter4: (GWT.this)#ImplicitParam4

    Permalink
    Definition Classes
    ImplicitParameters
  32. implicit lazy val implicitParameter5: (GWT.this)#ImplicitParam5

    Permalink
    Definition Classes
    ImplicitParameters
  33. implicit lazy val implicitParameter6: (GWT.this)#ImplicitParam6

    Permalink
    Definition Classes
    ImplicitParameters
  34. implicit lazy val implicitParameter7: (GWT.this)#ImplicitParam7

    Permalink
    Definition Classes
    ImplicitParameters
  35. implicit lazy val implicitParameter8: (GWT.this)#ImplicitParam8

    Permalink
    Definition Classes
    ImplicitParameters
  36. implicit lazy val implicitParameter9: (GWT.this)#ImplicitParam9

    Permalink
    Definition Classes
    ImplicitParameters
  37. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. def readAs(regex: String): (GWT.this)#ReadAs

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

    Permalink
    Definition Classes
    Scripts
  43. def seq[T](f: (Seq[String]) ⇒ T)(implicit fpr: Regex): DelimitedStepParser[T]

    Permalink
    Definition Classes
    StepParsers
  44. implicit lazy val stepParserRegex: Regex

    Permalink
    Definition Classes
    StepParsers
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Scripts

Inherited from StepParsers

Inherited from ImplicitParameters

Inherited from AnyRef

Inherited from Any

Ungrouped