org.specs2.mutable

GivenWhenThen

trait GivenWhenThen extends specification.GivenWhenThen

Self Type
GivenWhenThen with FragmentsBuilder
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GivenWhenThen
  2. GivenWhenThen
  3. ArgumentsArgs
  4. ArgProperties
  5. SpecificationStringContext
  6. FragmentsBuilder
  7. FormattingTags
  8. Tags
  9. ExamplesFactory
  10. TuplesToSeq
  11. RegexStepsFactory
  12. ImplicitParameters
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class AsFragments(fs: Fragments) extends Product with Serializable

    Definition Classes
    FragmentsBuilder
  2. class ExampleDesc extends AnyRef

    transient class to hold an example description before creating a full Example

  3. case class FormattingTagParameter(condition: Boolean) extends Product with Serializable

    Definition Classes
    FormattingTags
  4. class GWTToFragment extends AnyRef

  5. class GivenExampleDesc extends ExampleDesc

    transient class to hold an example description before creating a full Example

  6. class GivenThenInExample extends AnyRef

    transient class to hold an example description before creating a full Example

  7. class GivenWhenThenFragmentsFragment extends FragmentsFragment

    Definition Classes
    GivenWhenThen
  8. class HtmlLinkFragments extends AnyRef

    Definition Classes
    FragmentsBuilder
  9. class HtmlLinkFragments2 extends AnyRef

    Definition Classes
    FragmentsBuilder
  10. trait ImplicitParam extends AnyRef

    Definition Classes
    ImplicitParameters
  11. trait ImplicitParam1 extends AnyRef

    Definition Classes
    ImplicitParameters
  12. trait ImplicitParam10 extends AnyRef

    Definition Classes
    ImplicitParameters
  13. trait ImplicitParam2 extends AnyRef

    Definition Classes
    ImplicitParameters
  14. trait ImplicitParam3 extends AnyRef

    Definition Classes
    ImplicitParameters
  15. trait ImplicitParam4 extends AnyRef

    Definition Classes
    ImplicitParameters
  16. trait ImplicitParam5 extends AnyRef

    Definition Classes
    ImplicitParameters
  17. trait ImplicitParam6 extends AnyRef

    Definition Classes
    ImplicitParameters
  18. trait ImplicitParam7 extends AnyRef

    Definition Classes
    ImplicitParameters
  19. trait ImplicitParam8 extends AnyRef

    Definition Classes
    ImplicitParameters
  20. trait ImplicitParam9 extends AnyRef

    Definition Classes
    ImplicitParameters
  21. class ReadAs extends AnyRef

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

  22. case class SpecIdentificationMarkdownLink(s: String) extends Product with Serializable

    Definition Classes
    FragmentsBuilder
  23. class SpecTitle extends AnyRef

    Definition Classes
    FragmentsBuilder
  24. implicit class specificationInStringContext extends AnyRef

    Definition Classes
    SpecificationStringContext

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. implicit def RegexFragmentToFragments(r: RegexFragment): Fragments

    at any point in time a regex sequence can be transformed as a sequence of Fragments

    at any point in time a regex sequence can be transformed as a sequence of Fragments

    Definition Classes
    GivenWhenThen
  7. implicit def ToFormattingTagParameter(condition: Boolean): Option[(GivenWhenThen.this)#FormattingTagParameter]

    Definition Classes
    FormattingTags
  8. implicit def anyAsResultIsSpecPart(r: ⇒ Function0Result): SpecPart

    Definition Classes
    SpecificationStringContext
  9. implicit def anyToArgProperty[T](t: ⇒ T): ArgProperty[T]

    Definition Classes
    ArgProperties
  10. def args(ex: ArgProperty[String] = ArgProperty[String](), include: ArgProperty[String] = ArgProperty[String](), exclude: ArgProperty[String] = ArgProperty[String](), wasIssue: ArgProperty[Boolean] = ArgProperty[Boolean](), was: ArgProperty[String] = ArgProperty[String](), plan: ArgProperty[Boolean] = ArgProperty[Boolean](), skipAll: ArgProperty[Boolean] = ArgProperty[Boolean](), stopOnFail: ArgProperty[Boolean] = ArgProperty[Boolean](), stopOnSkip: ArgProperty[Boolean] = ArgProperty[Boolean](), sequential: ArgProperty[Boolean] = ArgProperty[Boolean](), isolated: ArgProperty[Boolean] = ArgProperty[Boolean](), xonly: ArgProperty[Boolean] = ArgProperty[Boolean](), showOnly: ArgProperty[String] = ArgProperty[String](), color: ArgProperty[Boolean] = ArgProperty[Boolean]()): Arguments

    shorthand method to create an Arguments object

    shorthand method to create an Arguments object

    Definition Classes
    ArgumentsArgs
  11. lazy val args: (GivenWhenThen.this)#ArgumentsNamespace

    Definition Classes
    ArgumentsArgs
  12. implicit def argumentsFragment(a: Arguments): (GivenWhenThen.this)#GivenWhenThenFragmentsFragment

    Arguments creation

    Arguments creation

    returns

    a Fragments object which can be chained with other fragments

    Definition Classes
    GivenWhenThenFragmentsBuilder
  13. implicit def argumentsIsSpecPart(a: Arguments): SpecPart

    Definition Classes
    SpecificationStringContext
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. implicit def asResultIsSpecPart[R](r: ⇒ R)(implicit arg0: AsResult[R]): SpecPart

    Definition Classes
    SpecificationStringContext
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. implicit def downcastGiven[X, Y <: X](gv: Given[Y]): Given[X] { def extract(s: String): Y }

    implicit conversion to transform a Given[Y] to Given[X] when Y <: X

    implicit conversion to transform a Given[Y] to Given[X] when Y <: X

    Definition Classes
    GivenWhenThen
  18. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  20. implicit def exampleFactory: ExampleFactory

    Definition Classes
    ExamplesFactory
  21. implicit def exampleIsSpecPart(e: Example): SpecPart

    Definition Classes
    SpecificationStringContext
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. implicit def forExample(s: String): (GivenWhenThen.this)#GivenExampleDesc

    This implicit allows to use the "so" object:

    This implicit allows to use the "so" object:

    "given the name: ${eric}, then the age is ${18}" ! so { case (name: String, age: String) => age.toInt must_== 18 }

    returns

    an Example description from a string, to create a full Example once the body is defined

    Definition Classes
    GivenWhenThenFragmentsBuilder
  24. implicit def formIsSpecPart(f: ⇒ Form): SpecPart

    Definition Classes
    SpecificationStringContext
  25. def formatSection(markdown: Option[(GivenWhenThen.this)#FormattingTagParameter] = None, flow: Option[(GivenWhenThen.this)#FormattingTagParameter] = None, verbatim: Option[(GivenWhenThen.this)#FormattingTagParameter] = None): TaggingFragment

    add a tagging section with special tag names specifying the formatting options

    add a tagging section with special tag names specifying the formatting options

    Definition Classes
    FormattingTags
  26. def formatTag(markdown: Option[(GivenWhenThen.this)#FormattingTagParameter] = None, flow: Option[(GivenWhenThen.this)#FormattingTagParameter] = None, verbatim: Option[(GivenWhenThen.this)#FormattingTagParameter] = None): TaggingFragment

    add a tag with special tag names specifying the formatting options

    add a tag with special tag names specifying the formatting options

    Definition Classes
    FormattingTags
  27. implicit def fragmentFragments(f: ⇒ Fragment): (GivenWhenThen.this)#GivenWhenThenFragmentsFragment

    Definition Classes
    GivenWhenThenFragmentsBuilder
  28. implicit def fragmentIsSpecPart(f: Fragment): SpecPart

    Definition Classes
    SpecificationStringContext
  29. implicit def fragments(f: ⇒ Fragment): Fragments

    returns

    a Fragments object from a single Fragment

    Definition Classes
    FragmentsBuilder
  30. implicit def fragmentsFragmentIsSpecPart(ffs: FragmentsFragment): SpecPart

    Definition Classes
    SpecificationStringContext
  31. implicit def fragmentsFragmentToFragments(fs: FragmentsFragment): Fragments

    reverse conversion from a Fragment containing a Fragments object to the Fragments object

    reverse conversion from a Fragment containing a Fragments object to the Fragments object

    Definition Classes
    FragmentsBuilder
  32. implicit def fragmentsFragments(fs: ⇒ Fragments): (GivenWhenThen.this)#GivenWhenThenFragmentsFragment

    Definition Classes
    GivenWhenThenFragmentsBuilder
  33. implicit def fragmentsIsSpecPart(fragments: Fragments): SpecPart

    Definition Classes
    SpecificationStringContext
  34. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  35. implicit def givenIsSpecPart[T](g: Given[T]): SpecPart

    Definition Classes
    GivenWhenThen
  36. implicit def givenThenInExample(s: String): (GivenWhenThen.this)#GivenThenInExample

    add a new example using 'in' or '>>' or '!'

  37. def groupAs(groupRegex: String): (GivenWhenThen.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
    RegexStepsFactory
  38. implicit def gwtToFragment(s: String): (GivenWhenThen.this)#GWTToFragment

    Create GWT fragments with the << syntax for a mutable specification

  39. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  40. implicit lazy val implicitParam: (GivenWhenThen.this)#ImplicitParam

    Definition Classes
    ImplicitParameters
  41. implicit lazy val implicitParam1: (GivenWhenThen.this)#ImplicitParam1

    Definition Classes
    ImplicitParameters
  42. implicit lazy val implicitParam10: (GivenWhenThen.this)#ImplicitParam10

    Definition Classes
    ImplicitParameters
  43. implicit lazy val implicitParam2: (GivenWhenThen.this)#ImplicitParam2

    Definition Classes
    ImplicitParameters
  44. implicit lazy val implicitParam3: (GivenWhenThen.this)#ImplicitParam3

    Definition Classes
    ImplicitParameters
  45. implicit lazy val implicitParam4: (GivenWhenThen.this)#ImplicitParam4

    Definition Classes
    ImplicitParameters
  46. implicit lazy val implicitParam5: (GivenWhenThen.this)#ImplicitParam5

    Definition Classes
    ImplicitParameters
  47. implicit lazy val implicitParam6: (GivenWhenThen.this)#ImplicitParam6

    Definition Classes
    ImplicitParameters
  48. implicit lazy val implicitParam7: (GivenWhenThen.this)#ImplicitParam7

    Definition Classes
    ImplicitParameters
  49. implicit lazy val implicitParam8: (GivenWhenThen.this)#ImplicitParam8

    Definition Classes
    ImplicitParameters
  50. implicit lazy val implicitParam9: (GivenWhenThen.this)#ImplicitParam9

    Definition Classes
    ImplicitParameters
  51. implicit def inScope(s: Scope): Success

    transform a scope to a success to be able to create traits containing any variables and usable in any Examples

    transform a scope to a success to be able to create traits containing any variables and usable in any Examples

    Definition Classes
    FragmentsBuilder
  52. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  53. def link(htmlLink: HtmlLink, f: Fragments): Fragments

    Definition Classes
    FragmentsBuilder
  54. def link(htmlLink: HtmlLink, s: SpecificationStructure): Fragments

    create a link directly on a specification, with a given link

    create a link directly on a specification, with a given link

    Definition Classes
    FragmentsBuilder
  55. def link(fss: Seq[Fragments]): Fragments

    Definition Classes
    FragmentsBuilder
  56. def link(fs: Fragments, fss: Fragments*): Fragments

    Definition Classes
    FragmentsBuilder
  57. def link(fs: Fragments): Fragments

    Definition Classes
    FragmentsBuilder
  58. def link(ss: Seq[SpecificationStructure], dummy: Int = 0): Fragments

    Definition Classes
    FragmentsBuilder
  59. def link(s: SpecificationStructure, ss: SpecificationStructure*): Fragments

    Definition Classes
    FragmentsBuilder
  60. def link(s: SpecificationStructure): Fragments

    create a link directly on a specification

    create a link directly on a specification

    Definition Classes
    FragmentsBuilder
  61. implicit def markdownLinkIsSpecPart(link: MarkdownLink): SpecPart

    Definition Classes
    SpecificationStringContext
  62. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  63. final def notify(): Unit

    Definition Classes
    AnyRef
  64. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  65. def readAs(regex: String): (GivenWhenThen.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
    RegexStepsFactory
  66. def s2(content: String, Yrangepos: Boolean, texts: Seq[String], variables: Seq[SpecPart], rangeExpressions: Seq[String]): Fragments

    based on the interpolated variables and the expressions captured with the macro, create the appropriate fragments

    based on the interpolated variables and the expressions captured with the macro, create the appropriate fragments

    if the Yrangepos scalac option is not set then we use an approximated method to find the expressions texts

    Definition Classes
    SpecificationStringContext
  67. implicit def scopeAsResult[S <: Scope]: AsResult[S]

    typeclass to transform a Scope to a Result

    typeclass to transform a Scope to a Result

    Definition Classes
    FragmentsBuilder
  68. def section(names: String*): TaggingFragment

    create a AsSection fragment

    create a AsSection fragment

    Definition Classes
    Tags
  69. def see(htmlLink: HtmlLink, fs: Fragments): Fragments

    Definition Classes
    FragmentsBuilder
  70. def see(htmlLink: HtmlLink, s: SpecificationStructure): Fragments

    create a see-only link directly on a specification, with a given link

    create a see-only link directly on a specification, with a given link

    Definition Classes
    FragmentsBuilder
  71. def see(fss: Seq[Fragments]): Fragments

    Definition Classes
    FragmentsBuilder
  72. def see(fs: Fragments, fss: Fragments*): Fragments

    Definition Classes
    FragmentsBuilder
  73. def see(fs: Fragments): Fragments

    Definition Classes
    FragmentsBuilder
  74. def see(s: SpecificationStructure): Fragments

    Definition Classes
    FragmentsBuilder
  75. def see(ss: Seq[SpecificationStructure])(implicit p1: (GivenWhenThen.this)#ImplicitParam1): Fragments

    Definition Classes
    FragmentsBuilder
  76. def see(s: SpecificationStructure, ss: SpecificationStructure*): Fragments

    create a html link without including the other specification fragments

    create a html link without including the other specification fragments

    Definition Classes
    FragmentsBuilder
  77. implicit def specIdentificationMarkdownLink(s: String): (GivenWhenThen.this)#SpecIdentificationMarkdownLink

    create markdown links from string + spec identification

    create markdown links from string + spec identification

    Definition Classes
    FragmentsBuilder
  78. implicit def specStructureIsSpecPart(s: SpecificationStructure): SpecPart

    Definition Classes
    SpecificationStringContext
  79. implicit def specificationStructureToFragments(s: SpecificationStructure): (GivenWhenThen.this)#AsFragments

    this implicit allows to call some functions directly on a specification, like 'hide'

    this implicit allows to call some functions directly on a specification, like 'hide'

    Definition Classes
    FragmentsBuilder
  80. implicit def stringIsSpecPart(s: ⇒ String): SpecPart

    Definition Classes
    SpecificationStringContext
  81. implicit def stringToHtmlLinkFragments(s: String): (GivenWhenThen.this)#HtmlLinkFragments

    Links to other specifications creation

    Links to other specifications creation

    Definition Classes
    FragmentsBuilder
    See also

    org.specs2.UserGuide

  82. implicit def stringToHtmlLinkFragments2(s: String): (GivenWhenThen.this)#HtmlLinkFragments2

    Definition Classes
    FragmentsBuilder
  83. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  84. def tag(names: String*): TaggingFragment

    create a TaggedAs fragment

    create a TaggedAs fragment

    Definition Classes
    Tags
  85. implicit def textFragment(s: String): (GivenWhenThen.this)#GivenWhenThenFragmentsFragment

    returns

    create a Text Fragment from a string and allow it to be chained to other fragments

    Definition Classes
    GivenWhenThenFragmentsBuilder
  86. implicit def textStart(s: String): Fragments

    returns

    a Fragments object from a string

    Definition Classes
    FragmentsBuilder
  87. implicit def thenIsSpecPart[T](t: Then[T]): SpecPart

    Definition Classes
    GivenWhenThen
  88. implicit def title(s: String): (GivenWhenThen.this)#SpecTitle

    This method allows to add a title to the Specification.

    This method allows to add a title to the Specification. It can be used as an operation on a String: "spec title".title

    returns

    a Fragments object from a string, with the given title

    Definition Classes
    FragmentsBuilder
  89. implicit def toFormIsSpecPart(f: AnyRef { def form: org.specs2.form.Form }): SpecPart

    Definition Classes
    SpecificationStringContext
  90. def toString(): String

    Definition Classes
    AnyRef → Any
  91. implicit def tupleToSeq10[T, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T], e5: <:<[T5, T], e6: <:<[T6, T], e7: <:<[T7, T], e8: <:<[T8, T], e9: <:<[T9, T], e10: <:<[T10, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  92. implicit def tupleToSeq2[T, T1, T2](t: (T1, T2))(implicit e1: <:<[T1, T], e2: <:<[T2, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  93. implicit def tupleToSeq3[T, T1, T2, T3](t: (T1, T2, T3))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  94. implicit def tupleToSeq4[T, T1, T2, T3, T4](t: (T1, T2, T3, T4))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  95. implicit def tupleToSeq5[T, T1, T2, T3, T4, T5](t: (T1, T2, T3, T4, T5))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T], e5: <:<[T5, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  96. implicit def tupleToSeq6[T, T1, T2, T3, T4, T5, T6](t: (T1, T2, T3, T4, T5, T6))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T], e5: <:<[T5, T], e6: <:<[T6, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  97. implicit def tupleToSeq7[T, T1, T2, T3, T4, T5, T6, T7](t: (T1, T2, T3, T4, T5, T6, T7))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T], e5: <:<[T5, T], e6: <:<[T6, T], e7: <:<[T7, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  98. implicit def tupleToSeq8[T, T1, T2, T3, T4, T5, T6, T7, T8](t: (T1, T2, T3, T4, T5, T6, T7, T8))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T], e5: <:<[T5, T], e6: <:<[T6, T], e7: <:<[T7, T], e8: <:<[T8, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  99. implicit def tupleToSeq9[T, T1, T2, T3, T4, T5, T6, T7, T8, T9](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9))(implicit e1: <:<[T1, T], e2: <:<[T2, T], e3: <:<[T3, T], e4: <:<[T4, T], e5: <:<[T5, T], e6: <:<[T6, T], e7: <:<[T7, T], e8: <:<[T8, T], e9: <:<[T9, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  100. implicit def upcastThen[X, Y <: X](th: Then[X]): Then[Y]

    implicit conversion to transform a Then[Y] to Then[X] when Y <: X

    implicit conversion to transform a Then[Y] to Then[X] when Y <: X

    Definition Classes
    GivenWhenThen
  101. implicit def updowncastWhen[P, Q, R <: P, S >: Q](wh: When[P, Q]): When[R, S]

    implicit conversion to transform a When[P, Q] to When[R, S] when R <: P and S >: Q

    implicit conversion to transform a When[P, Q] to When[R, S] when R <: P and S >: Q

    Definition Classes
    GivenWhenThen
  102. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  105. implicit def whenIsSpecPart[T, U](w: When[T, U]): SpecPart

    Definition Classes
    GivenWhenThen

Inherited from main.ArgumentsArgs

Inherited from ArgProperties

Inherited from FormattingTags

Inherited from specification.Tags

Inherited from TuplesToSeq

Inherited from RegexStepsFactory

Inherited from ImplicitParameters

Inherited from AnyRef

Inherited from Any

Ungrouped