org.specs2.specification

BaseSpecification

trait BaseSpecification extends SpecificationStructure with FragmentsBuilder with SpecificationInclusion

A Base specification contains the minimum elements for a Specification

- a Seq of Fragments, available through the SpecificationStructure trait - methods for creating Fragments from the FragmentsBuilder trait - methods to include other specifications

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. BaseSpecification
  2. SpecificationInclusion
  3. FragmentsBuilder
  4. ExamplesFactory
  5. RegexSteps
  6. SpecificationStructure
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def is : Fragments

    declaration of Fragments from the user

    declaration of Fragments from the user

    Attributes
    abstract
    Definition Classes
    SpecificationStructure

Concrete Value Members

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

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

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

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

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

    Attributes
    final
    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

    Attributes
    implicit
    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

    Attributes
    implicit
    Definition Classes
    FragmentsBuilder
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def clone (): AnyRef

    Attributes
    protected[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

    Attributes
    implicit
    Definition Classes
    RegexSteps
  11. def eq (arg0: AnyRef): Boolean

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

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

    Attributes
    implicit
    Definition Classes
    ExamplesFactory
  14. def finalize (): Unit

    Attributes
    protected[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

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

    Attributes
    implicit
    Definition Classes
    FragmentsBuilder
  17. implicit def fragments (f: ⇒ Fragment): Fragments

    returns

    a Fragments object from a single Fragment

    Attributes
    implicit
    Definition Classes
    FragmentsBuilder
  18. 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

    Attributes
    implicit
    Definition Classes
    FragmentsBuilder
  19. implicit def fragmentsFragments (fs: ⇒ Fragments): FragmentsFragment

    Attributes
    implicit
    Definition Classes
    FragmentsBuilder
  20. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  21. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  22. 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

    Attributes
    implicit
    Definition Classes
    FragmentsBuilder
  23. def include (args: Arguments, s: SpecificationStructure*): FragmentsFragment

    Definition Classes
    SpecificationInclusion
  24. def include (s: SpecificationStructure, ss: SpecificationStructure*): FragmentsFragment

    Definition Classes
    SpecificationInclusion
  25. implicit def include (s: SpecificationStructure): FragmentsFragment

    Attributes
    implicit
    Definition Classes
    SpecificationInclusion
  26. def include (f: Fragments): FragmentsFragment

    Definition Classes
    SpecificationInclusion
  27. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  28. 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
  29. def link (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
  30. def map (fs: ⇒ Fragments): Fragments

    this method can be overriden to map additional behavior in the user-defined fragments

    this method can be overriden to map additional behavior in the user-defined fragments

    Definition Classes
    SpecificationStructure
  31. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  32. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  33. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  34. def see (htmlLink: HtmlLink, s: SpecificationStructure): Fragments

    create a html link without including the other specification fragments, and passing a specific link

    create a html link without including the other specification fragments, and passing a specific link

    Definition Classes
    FragmentsBuilder
  35. def see (s: 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
  36. implicit def stringToHtmlLinkFragments (s: String): HtmlLinkFragments

    Links to other specifications creation

    Links to other specifications creation

    Attributes
    implicit
    Definition Classes
    FragmentsBuilder
    See also

    org.specs2.UserGuide

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

    Attributes
    implicit
    Definition Classes
    FragmentsBuilder
  38. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  39. implicit def textFragment (s: String): FragmentsFragment

    returns

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

    Attributes
    implicit
    Definition Classes
    FragmentsBuilder
  40. implicit def textStart (s: String): Fragments

    returns

    a Fragments object from a string

    Attributes
    implicit
    Definition Classes
    FragmentsBuilder
  41. 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

    Attributes
    implicit
    Definition Classes
    FragmentsBuilder
  42. def toString (): String

    Definition Classes
    AnyRef → Any
  43. 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

    Attributes
    implicit
    Definition Classes
    RegexSteps
  44. 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

    Attributes
    implicit
    Definition Classes
    RegexSteps
  45. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from SpecificationInclusion

Inherited from FragmentsBuilder

Inherited from ExamplesFactory

Inherited from RegexSteps

Inherited from SpecificationStructure

Inherited from AnyRef

Inherited from Any