org.specs2.specification.create

SpecificationCreation

Related Doc: package create

trait SpecificationCreation extends AcceptanceDsl with AutoExamples with ArgumentsArgs with ArgumentsShortcuts with S2StringContext with FormattingFragments

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SpecificationCreation
  2. FormattingFragments
  3. S2StringContext
  4. S2StringContextImplicitsControl
  5. S2StringContext1
  6. S2StringContextCreation
  7. ArgumentsShortcuts
  8. ArgumentsArgs
  9. ArgProperties
  10. ArgumentsCreation
  11. AutoExamples
  12. AcceptanceDsl
  13. ReferenceDsl
  14. ExampleDsl
  15. TitleDsl
  16. SpecStructureDsl
  17. SpecStructureDslLowImplicits
  18. FragmentsDsl
  19. AcceptanceDsl1
  20. ActionDsl
  21. TagDsl
  22. ReferenceCreation
  23. SpecStructureDsl1
  24. FragmentsFactory
  25. AnyRef
  26. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class BangExample extends AnyRef

    Definition Classes
    ExampleDsl
  2. implicit class HiddenFragment extends AnyRef

    Definition Classes
    FragmentsDsl
  3. class TitleOps extends AnyRef

    Definition Classes
    TitleDsl
  4. implicit class appendSpecStructureToFragment extends AnyRef

    Definition Classes
    SpecStructureDsl
  5. implicit class appendSpecStructureToFragments extends AnyRef

    Definition Classes
    SpecStructureDslLowImplicits
  6. implicit class appendSpecStructureToSpecHeader extends AnyRef

    Definition Classes
    SpecStructureDsl
  7. implicit class appendSpecStructureToSpecStructure extends AnyRef

    Definition Classes
    SpecStructureDsl
  8. implicit class appendSpecStructureToString extends AnyRef

    Definition Classes
    SpecStructureDsl
  9. implicit class appendToArguments extends AnyRef

    Definition Classes
    SpecStructureDsl1
  10. implicit class appendToFragment extends AnyRef

    Definition Classes
    FragmentsDsl
  11. implicit class appendToFragments extends AnyRef

    Definition Classes
    FragmentsDsl
  12. implicit class appendToString extends AnyRef

    Definition Classes
    FragmentsDsl
  13. implicit class linkFragment extends AnyRef

    Definition Classes
    ReferenceDsl
  14. implicit class seeFragment extends AnyRef

    Definition Classes
    ReferenceDsl
  15. implicit class specificationInStringContext extends AnyRef

    Definition Classes
    S2StringContextCreation

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def action(a: ⇒ Any): Fragment

    Definition Classes
    ActionDsl
  5. implicit def anyAsResultIsInterpolatedFragment(r: ⇒ Function0Result): InterpolatedFragment

    Definition Classes
    S2StringContext
  6. implicit def anyToArgProperty[T](t: ⇒ T): ArgProperty[T]

    Definition Classes
    ArgProperties
  7. def args(ex: ArgProperty[String] = ArgProperty[String](), include: ArgProperty[String] = ArgProperty[String](), exclude: ArgProperty[String] = ArgProperty[String](), 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](), asap: 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
    ArgumentsCreation
  8. lazy val args: ArgumentsNamespace

    Definition Classes
    ArgumentsCreation
  9. implicit def argumentsFunctionIsInterpolatedFragment[R](f: (Arguments) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Definition Classes
    S2StringContext
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. implicit def asResultIsInterpolatedFragment[R](r: ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Definition Classes
    S2StringContext1
  12. implicit def bangExample(d: String): BangExample

    Definition Classes
    ExampleDsl
  13. def br: Fragment

    Definition Classes
    FormattingFragments
  14. def bt(n: Int): Fragment

    Definition Classes
    FormattingFragments
  15. def bt: Fragment

    Definition Classes
    FormattingFragments
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def colors(c: Colors): Arguments

    shortcut to set new Colors

    shortcut to set new Colors

    Definition Classes
    ArgumentsShortcuts
  18. implicit def commandLineAsResultIsInterpolatedFragment[R](r: ⇒ R)(implicit arg0: CommandLineAsResult[R]): InterpolatedFragment

  19. implicit def commandLineFunctionIsInterpolatedFragment[R](f: (CommandLine) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Definition Classes
    S2StringContext
  20. def createExample[T](expression: String, code: ⇒ T, asResult: AsResult[T]): Fragments

    Definition Classes
    AutoExamples
  21. def createExecutionInterpolatedFragment(execution: Execution): InterpolatedFragment

    Definition Classes
    S2StringContextCreation
  22. implicit def descriptionToFragmentsIsInterpolatedFragment(fragments: (String) ⇒ Fragments): InterpolatedFragment

    Definition Classes
    S2StringContext
  23. def diffs(show: Boolean = true, separators: String = "[]", triggerSize: Int = 20, diffRatio: Int = 30, shortenSize: Int = 5, full: Boolean = false, seqTriggerSize: Int = 0, seqMaxSize: Int = 1000000): Arguments

    shortcut to display the differences with some specific parameters

    shortcut to display the differences with some specific parameters

    Definition Classes
    ArgumentsShortcuts
  24. implicit macro def eg[T](code: ⇒ T)(implicit arg0: AsResult[T]): Fragments

    Definition Classes
    AutoExamples
  25. def end: Fragment

    Definition Classes
    FormattingFragments
  26. implicit def envFunctionIsInterpolatedFragment[R](f: (Env) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Definition Classes
    S2StringContext
  27. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  29. def exclude(tags: String): Arguments

    shortcut to exclude some tagged fragments

    shortcut to exclude some tagged fragments

    Definition Classes
    ArgumentsShortcuts
  30. def excludeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter

    shortcut to add exclude trace patterns

    shortcut to add exclude trace patterns

    Definition Classes
    ArgumentsShortcuts
  31. def excludeTrace(patterns: String*): IncludeExcludeStackTraceFilter

    shortcut to create a stackTrace filter to exclude only some elements

    shortcut to create a stackTrace filter to exclude only some elements

    Definition Classes
    ArgumentsShortcuts
  32. implicit def executionContextFunctionIsInterpolatedFragment[R](f: (ExecutionContext) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Definition Classes
    S2StringContext
  33. implicit def executionIsInterpolatedFragment(execution: Execution): InterpolatedFragment

    Definition Classes
    S2StringContext
  34. implicit def executorServiceFunctionIsInterpolatedFragment[R](f: (ExecutorService) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Definition Classes
    S2StringContext
  35. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. implicit def fragmentAsSpecStructure(f: Fragment): SpecStructure

    Definition Classes
    SpecStructureDsl
  37. def fragmentFactory: FragmentFactory

    Attributes
    protected
    Definition Classes
    FragmentsFactory
  38. implicit def fragmentIsInterpolatedFragment(f: ⇒ Fragment): InterpolatedFragment

    Definition Classes
    S2StringContext1
  39. implicit def fragmentToFragments(f: Fragment): Fragments

    Definition Classes
    FragmentsDsl
  40. implicit def fragmentsAsSpecStructure(fs: ⇒ Fragments): SpecStructure

    Definition Classes
    SpecStructureDsl1
  41. def fragmentsBlock(fragments: Seq[Fragment], offset: Int = 2): Fragments

    create a block of new fragments where each of them is separated by a newline and there is a specific offset from the left margin

    create a block of new fragments where each of them is separated by a newline and there is a specific offset from the left margin

    Definition Classes
    FragmentsDsl
  42. implicit def fragmentsIsInterpolatedFragment(fragments: Fragments): InterpolatedFragment

    Definition Classes
    S2StringContext
  43. def fullStackTrace: Arguments

    shortcut to filter nothing

    shortcut to filter nothing

    Definition Classes
    ArgumentsShortcuts
  44. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  45. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  46. def include(tags: String): Arguments

    shortcut to include only some tagged fragments

    shortcut to include only some tagged fragments

    Definition Classes
    ArgumentsShortcuts
  47. def includeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter

    shortcut to add include trace patterns

    shortcut to add include trace patterns

    Definition Classes
    ArgumentsShortcuts
  48. def includeTrace(patterns: String*): IncludeExcludeStackTraceFilter

    shortcut to create a stackTrace filter to include only some elements

    shortcut to create a stackTrace filter to include only some elements

    Definition Classes
    ArgumentsShortcuts
  49. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  50. def isolated: Arguments

    returns

    arguments for a specification where examples must be executed in their own specification

    Definition Classes
    ArgumentsShortcuts
  51. def link(s: ⇒ SpecificationStructure): Fragment

    Definition Classes
    ReferenceCreation
  52. def link(s: SpecStructure): Fragment

    Definition Classes
    ReferenceCreation
  53. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  54. def nocolor: Arguments

    shortcut to avoid colored output

    shortcut to avoid colored output

    Definition Classes
    ArgumentsShortcuts
  55. final def notify(): Unit

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

    Definition Classes
    AnyRef
  57. def only(examples: String): Arguments

    shortcut to execute and print only some examples

    shortcut to execute and print only some examples

    Definition Classes
    ArgumentsShortcuts
  58. def p: Fragments

    Definition Classes
    FormattingFragments
  59. def plan: Arguments

    shortcut to show only the text without any execution

    shortcut to show only the text without any execution

    Definition Classes
    ArgumentsShortcuts
  60. implicit def resultAsSpecStructure[R](r: ⇒ R)(implicit arg0: AsResult[R]): SpecStructure

    Definition Classes
    SpecStructureDslLowImplicits
  61. def s2(content: String, Yrangepos: Boolean, texts: Seq[String], textsStartPositions: Seq[String], textsEndPositions: Seq[String], variables: Seq[InterpolatedFragment], 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
    S2StringContextCreation
  62. def section(tag: NamedTag): Fragment

    Definition Classes
    TagDsl
  63. def section(names: String*): Fragment

    Definition Classes
    TagDsl
  64. def see(s: ⇒ SpecificationStructure): Fragment

    Definition Classes
    ReferenceCreation
  65. def see(s: SpecStructure): Fragment

    Definition Classes
    ReferenceCreation
  66. def sequential: Arguments

    returns

    arguments for a specification where examples must be executed sequentially

    Definition Classes
    ArgumentsShortcuts
  67. def showOnly(s: String): Arguments

    shortcut to print only some statuses

    shortcut to print only some statuses

    Definition Classes
    ArgumentsShortcuts
  68. def skipAll: Arguments

    shortcut to skip all examples

    shortcut to skip all examples

    Definition Classes
    ArgumentsShortcuts
  69. def skipAllIf(condition: ⇒ Boolean): Arguments

    shortcut to skip all examples when a condition is true.

    shortcut to skip all examples when a condition is true. if the condition throws an exception, its stacktrace is *not* printed and all the examples are skipped

    Definition Classes
    ArgumentsShortcuts
  70. def skipAllUnless(condition: ⇒ Boolean): Arguments

    shortcut to skip all examples when a condition is false.

    shortcut to skip all examples when a condition is false.

    Definition Classes
    ArgumentsShortcuts
  71. implicit def specHeaderAsStructure(header: SpecHeader): SpecStructure

    Definition Classes
    SpecStructureDsl
  72. implicit def specStructureAsFragments(spec: SpecStructure): Fragments

    Definition Classes
    SpecStructureDsl
  73. implicit def specStructureIsInterpolatedFragment(s: SpecStructure): InterpolatedFragment

    Definition Classes
    S2StringContext
  74. implicit def specificationRefIsInterpolatedFragment(ref: SpecificationRef): InterpolatedFragment

    Definition Classes
    S2StringContext
  75. implicit def specificationStructureIsInterpolatedFragment(s: SpecificationStructure): InterpolatedFragment

    Definition Classes
    S2StringContext
  76. implicit def statsRepositoryFunctionIsInterpolatedFragment[R](f: (StatisticsRepository) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Definition Classes
    S2StringContext
  77. def step(a: ⇒ Any, global: Boolean): Fragment

    Definition Classes
    ActionDsl
  78. def step(a: ⇒ Any): Fragment

    Definition Classes
    ActionDsl
  79. def stopOnFail: Arguments

    shortcut to stop after the first failure or error

    shortcut to stop after the first failure or error

    Definition Classes
    ArgumentsShortcuts
  80. def stopOnSkip: Arguments

    shortcut to stop after the first skipped result

    shortcut to stop after the first skipped result

    Definition Classes
    ArgumentsShortcuts
  81. implicit def stringAsSpecStructure(s: String): SpecStructure

    Definition Classes
    SpecStructureDsl
  82. implicit def stringFunctionIsInterpolatedFragment[R](f: (String) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

    Definition Classes
    S2StringContext
  83. implicit def stringIsInterpolatedFragment(s: ⇒ String): InterpolatedFragment

    Definition Classes
    S2StringContext
  84. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  85. def t(n: Int): Fragment

    Definition Classes
    FormattingFragments
  86. def t: Fragment

    Definition Classes
    FormattingFragments
  87. def tag(tag: NamedTag): Fragment

    Definition Classes
    TagDsl
  88. def tag(names: String*): Fragment

    Definition Classes
    TagDsl
  89. implicit def title(s: String): TitleOps

    Definition Classes
    TitleDsl
  90. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  94. def was(s: String): Arguments

    shortcut to include only examples with some previous statuses

    shortcut to include only examples with some previous statuses

    Definition Classes
    ArgumentsShortcuts
  95. def xonly: Arguments

    shortcut to print only failures and errors

    shortcut to print only failures and errors

    Definition Classes
    ArgumentsShortcuts

Inherited from FormattingFragments

Inherited from S2StringContext

Inherited from S2StringContext1

Inherited from S2StringContextCreation

Inherited from ArgumentsShortcuts

Inherited from ArgumentsArgs

Inherited from ArgProperties

Inherited from ArgumentsCreation

Inherited from AutoExamples

Inherited from AcceptanceDsl

Inherited from ReferenceDsl

Inherited from ExampleDsl

Inherited from TitleDsl

Inherited from SpecStructureDsl

Inherited from SpecStructureDslLowImplicits

Inherited from FragmentsDsl

Inherited from AcceptanceDsl1

Inherited from ActionDsl

Inherited from TagDsl

Inherited from ReferenceCreation

Inherited from SpecStructureDsl1

Inherited from FragmentsFactory

Inherited from AnyRef

Inherited from Any

Ungrouped