org.specs2.specification

FragmentsBuilder

trait FragmentsBuilder extends RegexSteps with ExamplesFactory

This trait provides function to create specification Fragments:

Self Type
FragmentsBuilder
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FragmentsBuilder
  2. ExamplesFactory
  3. RegexSteps
  4. TuplesToSeq
  5. RegexStepsFactory
  6. ImplicitParameters
  7. AnyRef
  8. 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

  2. class ExampleDesc extends AnyRef

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

  3. class HtmlLinkFragments extends AnyRef

  4. class HtmlLinkFragments2 extends AnyRef

  5. trait ImplicitParam extends AnyRef

    Definition Classes
    ImplicitParameters
  6. trait ImplicitParam1 extends AnyRef

    Definition Classes
    ImplicitParameters
  7. trait ImplicitParam10 extends AnyRef

    Definition Classes
    ImplicitParameters
  8. trait ImplicitParam2 extends AnyRef

    Definition Classes
    ImplicitParameters
  9. trait ImplicitParam3 extends AnyRef

    Definition Classes
    ImplicitParameters
  10. trait ImplicitParam4 extends AnyRef

    Definition Classes
    ImplicitParameters
  11. trait ImplicitParam5 extends AnyRef

    Definition Classes
    ImplicitParameters
  12. trait ImplicitParam6 extends AnyRef

    Definition Classes
    ImplicitParameters
  13. trait ImplicitParam7 extends AnyRef

    Definition Classes
    ImplicitParameters
  14. trait ImplicitParam8 extends AnyRef

    Definition Classes
    ImplicitParameters
  15. trait ImplicitParam9 extends AnyRef

    Definition Classes
    ImplicitParameters
  16. class ReadAs extends AnyRef

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

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

  18. class SpecTitle extends AnyRef

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
    RegexSteps
  7. implicit def argumentsFragment(a: Arguments): FragmentsFragment

    Arguments creation

    Arguments creation

    returns

    a Fragments object which can be chained with other fragments

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. 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
    RegexSteps
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    ExamplesFactory
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. implicit def forExample(s: String): ExampleDesc

    Example creation

    Example creation

    returns

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

  16. implicit def fragmentFragments(f: ⇒ Fragment): FragmentsFragment

  17. implicit def fragments(f: ⇒ Fragment): Fragments

    returns

    a Fragments object from a single Fragment

  18. implicit def fragmentsFragmentToFragments(fs: FragmentsFragment): Fragments

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

  19. implicit def fragmentsFragments(fs: ⇒ Fragments): FragmentsFragment

  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def groupAs(groupRegex: String): 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
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. implicit lazy val implicitParam: ImplicitParam

    Definition Classes
    ImplicitParameters
  24. implicit lazy val implicitParam1: ImplicitParam1

    Definition Classes
    ImplicitParameters
  25. implicit lazy val implicitParam10: ImplicitParam10

    Definition Classes
    ImplicitParameters
  26. implicit lazy val implicitParam2: ImplicitParam2

    Definition Classes
    ImplicitParameters
  27. implicit lazy val implicitParam3: ImplicitParam3

    Definition Classes
    ImplicitParameters
  28. implicit lazy val implicitParam4: ImplicitParam4

    Definition Classes
    ImplicitParameters
  29. implicit lazy val implicitParam5: ImplicitParam5

    Definition Classes
    ImplicitParameters
  30. implicit lazy val implicitParam6: ImplicitParam6

    Definition Classes
    ImplicitParameters
  31. implicit lazy val implicitParam7: ImplicitParam7

    Definition Classes
    ImplicitParameters
  32. implicit lazy val implicitParam8: ImplicitParam8

    Definition Classes
    ImplicitParameters
  33. implicit lazy val implicitParam9: ImplicitParam9

    Definition Classes
    ImplicitParameters
  34. 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

  35. final def isInstanceOf[T0]: Boolean

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

  37. def link(htmlLink: HtmlLink, s: SpecificationStructure): Fragments

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

  38. def link(fss: Seq[Fragments]): Fragments

  39. def link(fs: Fragments, fss: Fragments*): Fragments

  40. def link(fs: Fragments): Fragments

  41. def link(ss: Seq[SpecificationStructure], dummy: Int = 0): Fragments

  42. def link(s: SpecificationStructure, ss: SpecificationStructure*): Fragments

  43. def link(s: SpecificationStructure): Fragments

    create a link directly on a specification

  44. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  47. def readAs(regex: String): 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
  48. implicit def scopeAsResult[S <: Scope]: AsResult[S]

    typeclass to transform a Scope to a Result

  49. def see(htmlLink: HtmlLink, fs: Fragments): Fragments

  50. def see(htmlLink: HtmlLink, s: SpecificationStructure): Fragments

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

  51. def see(fss: Seq[Fragments]): Fragments

  52. def see(fs: Fragments, fss: Fragments*): Fragments

  53. def see(fs: Fragments): Fragments

  54. def see(s: SpecificationStructure): Fragments

  55. def see(ss: Seq[SpecificationStructure])(implicit p1: ImplicitParam1): Fragments

  56. def see(s: SpecificationStructure, ss: SpecificationStructure*): Fragments

    create a html link without including the other specification fragments

  57. implicit def specIdentificationMarkdownLink(s: String): SpecIdentificationMarkdownLink

    create markdown links from string + spec identification

  58. implicit def specificationStructureToFragments(s: SpecificationStructure): AsFragments

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

  59. implicit def stringToHtmlLinkFragments(s: String): HtmlLinkFragments

    Links to other specifications creation

    Links to other specifications creation

    See also

    org.specs2.UserGuide

  60. implicit def stringToHtmlLinkFragments2(s: String): HtmlLinkFragments2

  61. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  62. implicit def textFragment(s: String): FragmentsFragment

    returns

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

  63. implicit def textStart(s: String): Fragments

    returns

    a Fragments object from a string

  64. implicit def title(s: String): 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

  65. def toString(): String

    Definition Classes
    AnyRef → Any
  66. 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
  67. implicit def tupleToSeq2[T, T1, T2](t: (T1, T2))(implicit e1: <:<[T1, T], e2: <:<[T2, T]): Seq[T]

    Definition Classes
    TuplesToSeq
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
    RegexSteps
  76. 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
    RegexSteps
  77. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ExamplesFactory

Inherited from RegexSteps

Inherited from TuplesToSeq

Inherited from RegexStepsFactory

Inherited from ImplicitParameters

Inherited from AnyRef

Inherited from Any

Ungrouped