org.specs2.mutable

FragmentsBuilder

trait FragmentsBuilder extends specification.FragmentsBuilder with ExamplesFactory with SideEffectingCreationPaths with ImplicitParameters

Adding new implicits to support specs-like naming: "the system" should "do this" in { ... }

This trait belongs to the mutable package because it works by mutating a local variable each time a new Fragment is created.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FragmentsBuilder
  2. SideEffectingCreationPaths
  3. SpecificationNavigation
  4. ExamplesFactory
  5. FragmentsBuilder
  6. ExamplesFactory
  7. RegexSteps
  8. TuplesToSeq
  9. RegexStepsFactory
  10. ImplicitParameters
  11. AnyRef
  12. 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 Described extends AnyRef

  3. class ExampleDesc extends AnyRef

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

  4. class GWTToFragment extends AnyRef

  5. class HtmlLinkFragments extends AnyRef

    Definition Classes
    FragmentsBuilder
  6. class HtmlLinkFragments2 extends AnyRef

    Definition Classes
    FragmentsBuilder
  7. trait ImplicitParam extends AnyRef

    Definition Classes
    ImplicitParameters
  8. trait ImplicitParam1 extends AnyRef

    Definition Classes
    ImplicitParameters
  9. trait ImplicitParam10 extends AnyRef

    Definition Classes
    ImplicitParameters
  10. trait ImplicitParam2 extends AnyRef

    Definition Classes
    ImplicitParameters
  11. trait ImplicitParam3 extends AnyRef

    Definition Classes
    ImplicitParameters
  12. trait ImplicitParam4 extends AnyRef

    Definition Classes
    ImplicitParameters
  13. trait ImplicitParam5 extends AnyRef

    Definition Classes
    ImplicitParameters
  14. trait ImplicitParam6 extends AnyRef

    Definition Classes
    ImplicitParameters
  15. trait ImplicitParam7 extends AnyRef

    Definition Classes
    ImplicitParameters
  16. trait ImplicitParam8 extends AnyRef

    Definition Classes
    ImplicitParameters
  17. trait ImplicitParam9 extends AnyRef

    Definition Classes
    ImplicitParameters
  18. class InExample extends AnyRef

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

  19. class MutableSpecText extends AnyRef

  20. class MutableSpecTitle extends SpecTitle

  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. class WarningForgottenOperator 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. implicit def ***If you see this message this means that you've forgotten an operator after the description string: you should write "example" >> result ***(s: String): WarningForgottenOperator

    adding a conflicting implicit to warn the user when a >> was forgotten

  5. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  7. 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
  8. def action(a: ⇒ Any): Action

    add a new action to the Fragments

  9. def addArguments(a: Arguments): Arguments

    Attributes
    protected
  10. def addExample(ex: ⇒ Example): Example

    Attributes
    protected
  11. def addFragments(fs: Seq[Fragment]): Fragments

    Attributes
    protected
  12. def addFragments(fs: Fragments): Fragments

    Attributes
    protected
  13. def addFragments[T](s: String, fs: ⇒ T, word: String): Fragments

    Attributes
    protected
  14. implicit def argumentsFragment(a: Arguments): FragmentsFragment

    Arguments creation

    Arguments creation

    returns

    a Fragments object which can be chained with other fragments

    Definition Classes
    FragmentsBuilder
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. implicit def described(s: String): Described

  18. 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
  19. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    ExamplesFactoryExamplesFactory
  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  23. 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

    Definition Classes
    FragmentsBuilder
  24. implicit def fragmentFragments(f: ⇒ Fragment): FragmentsFragment

    Definition Classes
    FragmentsBuilder
  25. def fragments: Fragments

    Attributes
    protected[org.specs2]
  26. implicit def fragments(f: ⇒ Fragment): Fragments

    returns

    a Fragments object from a single Fragment

    Definition Classes
    FragmentsBuilder
  27. 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
  28. implicit def fragmentsFragments(fs: ⇒ Fragments): FragmentsFragment

    Definition Classes
    FragmentsBuilder
  29. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  30. 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
  31. implicit def gwtToFragment(s: String): GWTToFragment

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

  32. def hashCode(): Int

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

    Definition Classes
    ImplicitParameters
  34. implicit lazy val implicitParam1: ImplicitParam1

    Definition Classes
    ImplicitParameters
  35. implicit lazy val implicitParam10: ImplicitParam10

    Definition Classes
    ImplicitParameters
  36. implicit lazy val implicitParam2: ImplicitParam2

    Definition Classes
    ImplicitParameters
  37. implicit lazy val implicitParam3: ImplicitParam3

    Definition Classes
    ImplicitParameters
  38. implicit lazy val implicitParam4: ImplicitParam4

    Definition Classes
    ImplicitParameters
  39. implicit lazy val implicitParam5: ImplicitParam5

    Definition Classes
    ImplicitParameters
  40. implicit lazy val implicitParam6: ImplicitParam6

    Definition Classes
    ImplicitParameters
  41. implicit lazy val implicitParam7: ImplicitParam7

    Definition Classes
    ImplicitParameters
  42. implicit lazy val implicitParam8: ImplicitParam8

    Definition Classes
    ImplicitParameters
  43. implicit lazy val implicitParam9: ImplicitParam9

    Definition Classes
    ImplicitParameters
  44. implicit def inExample(s: String): InExample

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

  45. 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
  46. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  47. def link(htmlLink: HtmlLink, fs: Fragments): Fragments

    Definition Classes
    FragmentsBuilderFragmentsBuilder
  48. def link(fss: Seq[Fragments]): Fragments

    add a new link to the Fragments

    add a new link to the Fragments

    Definition Classes
    FragmentsBuilderFragmentsBuilder
  49. 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
  50. def link(fs: Fragments, fss: Fragments*): Fragments

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

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

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

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

    create a link directly on a specification

    create a link directly on a specification

    Definition Classes
    FragmentsBuilder
  55. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  58. 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
  59. 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
  60. def see(htmlLink: HtmlLink, fs: Fragments): Fragments

    Definition Classes
    FragmentsBuilderFragmentsBuilder
  61. def see(fss: Seq[Fragments]): Fragments

    Definition Classes
    FragmentsBuilderFragmentsBuilder
  62. 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
  63. def see(fs: Fragments, fss: Fragments*): Fragments

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

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

    Definition Classes
    FragmentsBuilder
  66. def see(ss: Seq[SpecificationStructure])(implicit p1: ImplicitParam1): Fragments

    Definition Classes
    FragmentsBuilder
  67. 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
  68. var specFragments: Fragments

    local mutable contents of the specification

    local mutable contents of the specification

    Attributes
    protected[org.specs2.mutable]
  69. implicit def specIdentificationMarkdownLink(s: String): SpecIdentificationMarkdownLink

    create markdown links from string + spec identification

    create markdown links from string + spec identification

    Definition Classes
    FragmentsBuilder
  70. implicit def specificationStructureToFragments(s: SpecificationStructure): 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
  71. def step(stopOnFail: Boolean = false): Step

    add a new stopOnFail step to the Fragments

  72. def step(a: ⇒ Any): Step

    add a new step to the Fragments

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

    Links to other specifications creation

    Links to other specifications creation

    Definition Classes
    FragmentsBuilder
    See also

    org.specs2.UserGuide

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

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

    Definition Classes
    AnyRef
  76. implicit def text(s: String): MutableSpecText

  77. implicit def textFragment(s: String): FragmentsFragment

    returns

    a Fragments object from a single piece of text

    Definition Classes
    FragmentsBuilderFragmentsBuilder
  78. implicit def textStart(s: String): Fragments

    returns

    a Fragments object from a string

    Definition Classes
    FragmentsBuilder
  79. implicit def title(s: String): MutableSpecTitle

    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
    FragmentsBuilderFragmentsBuilder
  80. def toString(): String

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

    Definition Classes
    TuplesToSeq
  83. 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
  84. 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
  85. 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
  86. 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
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SpecificationNavigation

Inherited from ExamplesFactory

Inherited from RegexSteps

Inherited from TuplesToSeq

Inherited from RegexStepsFactory

Inherited from ImplicitParameters

Inherited from AnyRef

Inherited from Any

Ungrouped