org.specs2.specification.dsl.mutable

SpecificationCreation

Related Doc: package mutable

trait SpecificationCreation extends create.SpecificationCreation with FormattingFragments with AutoExamples with MutableDsl with ArgumentsShortcuts with ArgumentsDsl

Trait for creating a mutable specification

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SpecificationCreation
  2. MutableDsl
  3. TagDsl
  4. MutableFragmentBuilder
  5. ReferenceDsl
  6. ArgumentsDsl
  7. ArgumentsCreation
  8. MutableArgumentsBuilder
  9. TitleDsl
  10. MutableHeaderBuilder
  11. ActionDsl
  12. TextDsl
  13. TextCreation
  14. ExampleDsl
  15. ExampleDsl1
  16. BlockDsl
  17. BlockCreation
  18. AutoExamples
  19. FormattingFragments
  20. FragmentBuilder
  21. SpecificationCreation
  22. FormattingFragments
  23. S2StringContext
  24. S2StringContextImplicitsControl
  25. S2StringContext1
  26. S2StringContextCreation
  27. ArgumentsShortcuts
  28. ArgumentsArgs
  29. ArgProperties
  30. ArgumentsCreation
  31. AutoExamples
  32. AcceptanceDsl
  33. ReferenceDsl
  34. ExampleDsl
  35. TitleDsl
  36. SpecStructureDsl
  37. SpecStructureDslLowImplicits
  38. FragmentsDsl
  39. AcceptanceDsl1
  40. ActionDsl
  41. TagDsl
  42. ReferenceCreation
  43. SpecStructureDsl1
  44. FragmentsFactory
  45. AnyRef
  46. 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. class BlockExample extends AnyRef

    Definition Classes
    ExampleDsl1
  3. implicit class FragmentTaggedAs extends AnyRef

    This implicit allows to add tags and sections _after_ the examples

    This implicit allows to add tags and sections _after_ the examples

    Definition Classes
    TagDsl
  4. implicit class FragmentsTaggedAs extends AnyRef

    This implicit allows to add tags and sections _after_ the examples

    This implicit allows to add tags and sections _after_ the examples

    Definition Classes
    TagDsl
  5. implicit class HiddenFragment extends AnyRef

    Definition Classes
    FragmentsDsl
  6. class MutableBangExample extends BangExample

    Definition Classes
    ExampleDsl
  7. class MutableTitleOps extends TitleOps

    Definition Classes
    TitleDsl
  8. class TitleOps extends AnyRef

    Definition Classes
    TitleDsl
  9. class WarningForgottenOperator extends AnyRef

    Definition Classes
    BlockDsl
  10. implicit class appendSpecStructureToFragment extends AnyRef

    Definition Classes
    SpecStructureDsl
  11. implicit class appendSpecStructureToFragments extends AnyRef

    Definition Classes
    SpecStructureDslLowImplicits
  12. implicit class appendSpecStructureToSpecHeader extends AnyRef

    Definition Classes
    SpecStructureDsl
  13. implicit class appendSpecStructureToSpecStructure extends AnyRef

    Definition Classes
    SpecStructureDsl
  14. implicit class appendSpecStructureToString extends AnyRef

    Definition Classes
    SpecStructureDsl
  15. implicit class appendToArguments extends AnyRef

    Definition Classes
    SpecStructureDsl1
  16. implicit class appendToFragment extends AnyRef

    Definition Classes
    FragmentsDsl
  17. implicit class appendToFragments extends AnyRef

    Definition Classes
    FragmentsDsl
  18. implicit class appendToString extends AnyRef

    Definition Classes
    FragmentsDsl
  19. implicit class describe extends AnyRef

    Definition Classes
    BlockDsl
  20. implicit class fragmentFormatting extends AnyRef

    Definition Classes
    TextDsl
  21. implicit class fragmentsFormatting extends AnyRef

    Definition Classes
    TextDsl
  22. implicit class linkFragment extends AnyRef

    Definition Classes
    ReferenceDsl
  23. implicit class mutableLinkFragment extends linkFragment

    Definition Classes
    ReferenceDsl
  24. implicit class mutableSeeFragment extends seeFragment

    Definition Classes
    ReferenceDsl
  25. implicit class seeFragment extends AnyRef

    Definition Classes
    ReferenceDsl
  26. implicit class specificationInStringContext extends AnyRef

    Definition Classes
    S2StringContextCreation
  27. implicit class textFragment extends AnyRef

    Definition Classes
    TextDsl

Value Members

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

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

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

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

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

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

    Definition Classes
    ActionDslActionDsl
  6. def addBacktab(n: Int): Fragment

    Definition Classes
    TextCreation
  7. def addBacktab: Fragment

    Definition Classes
    TextCreation
  8. def addBreak(n: Int): Fragment

    Definition Classes
    TextCreation
  9. def addBreak: Fragment

    Definition Classes
    TextCreation
  10. def addFragment(fragment: Fragment): Fragment

  11. def addFragmentBlock(f: ⇒ Fragment): Fragment

  12. def addFragments(fragments: Fragments): Fragments

  13. def addFragmentsBlock(fs: ⇒ Fragments): Fragments

  14. def addParagraph(s: String, n: Int = 2): Fragment

    Definition Classes
    TextCreation
  15. def addTab(n: Int): Fragment

    Definition Classes
    TextCreation
  16. def addTab: Fragment

    Definition Classes
    TextCreation
  17. def addText(s: String): Fragment

    Definition Classes
    TextCreation
  18. implicit def anyAsResultIsInterpolatedFragment(r: ⇒ Function0Result): InterpolatedFragment

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

    Definition Classes
    ArgProperties
  20. 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
    ArgumentsCreationArgumentsCreation
  21. lazy val args: ArgumentsNamespaceMutable

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

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

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

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

    Definition Classes
    ExampleDslExampleDsl
  26. implicit def blockExample(d: String): BlockExample

    Definition Classes
    ExampleDsl1
  27. def br: Fragment

  28. def bt(n: Int): Fragment

  29. def bt: Fragment

  30. def clone(): AnyRef

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

    shortcut to set new Colors

    shortcut to set new Colors

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

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

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

    Definition Classes
    AutoExamplesAutoExamples
  35. def createExecutionInterpolatedFragment(execution: Execution): InterpolatedFragment

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

    Definition Classes
    S2StringContext
  37. 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
  38. implicit macro def eg[T](code: ⇒ T)(implicit arg0: AsResult[T]): Fragments

    Definition Classes
    AutoExamples
  39. def end: Fragment

  40. implicit def envFunctionIsInterpolatedFragment[R](f: (Env) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

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

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

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

    shortcut to exclude some tagged fragments

    shortcut to exclude some tagged fragments

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

    shortcut to add exclude trace patterns

    shortcut to add exclude trace patterns

    Definition Classes
    ArgumentsShortcuts
  45. 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
  46. implicit def executionContextFunctionIsInterpolatedFragment[R](f: (ExecutionContext) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

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

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

    Definition Classes
    S2StringContext
  49. def finalize(): Unit

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

    Definition Classes
    SpecStructureDsl
  51. def fragmentFactory: FragmentFactory

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

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

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

    Definition Classes
    SpecStructureDsl1
  55. 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
  56. implicit def fragmentsIsInterpolatedFragment(fragments: Fragments): InterpolatedFragment

    Definition Classes
    S2StringContext
  57. def fullStackTrace: Arguments

    shortcut to filter nothing

    shortcut to filter nothing

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

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

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

    shortcut to include only some tagged fragments

    shortcut to include only some tagged fragments

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

    shortcut to add include trace patterns

    shortcut to add include trace patterns

    Definition Classes
    ArgumentsShortcuts
  62. 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
  63. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  64. def isolated: Arguments

    returns

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

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

    Definition Classes
    ReferenceDslReferenceCreation
  66. def link(s: SpecStructure): Fragment

    Definition Classes
    ReferenceDslReferenceCreation
  67. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  68. def nocolor: Arguments

    shortcut to avoid colored output

    shortcut to avoid colored output

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

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

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

    shortcut to execute and print only some examples

    shortcut to execute and print only some examples

    Definition Classes
    ArgumentsShortcuts
  72. def p: Fragments

  73. def plan: Arguments

    shortcut to show only the text without any execution

    shortcut to show only the text without any execution

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

    Definition Classes
    SpecStructureDslLowImplicits
  75. 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
  76. def section(tag: NamedTag): Fragment

    Definition Classes
    TagDslTagDsl
  77. def section(names: String*): Fragment

    Definition Classes
    TagDslTagDsl
  78. def see(s: ⇒ SpecificationStructure): Fragment

    Definition Classes
    ReferenceDslReferenceCreation
  79. def see(s: SpecStructure): Fragment

    Definition Classes
    ReferenceDslReferenceCreation
  80. def sequential: Arguments

    returns

    arguments for a specification where examples must be executed sequentially

    Definition Classes
    ArgumentsShortcuts
  81. def setArguments(a: Arguments): Arguments

    Definition Classes
    MutableArgumentsBuilder
  82. def setTitle(t: String): SpecHeader

    Definition Classes
    MutableHeaderBuilder
  83. def showOnly(s: String): Arguments

    shortcut to print only some statuses

    shortcut to print only some statuses

    Definition Classes
    ArgumentsShortcuts
  84. def skipAll: Arguments

    shortcut to skip all examples

    shortcut to skip all examples

    Definition Classes
    ArgumentsShortcuts
  85. 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
  86. 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
  87. implicit def specHeaderAsStructure(header: SpecHeader): SpecStructure

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

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

    Definition Classes
    S2StringContext
  90. def specificationFragments: (Env) ⇒ Fragments

    Definition Classes
    MutableFragmentBuilder
  91. implicit def specificationRefIsInterpolatedFragment(ref: SpecificationRef): InterpolatedFragment

    Definition Classes
    S2StringContext
  92. def specificationStructure: (Env) ⇒ SpecStructure

    Definition Classes
    MutableFragmentBuilder
  93. implicit def specificationStructureIsInterpolatedFragment(s: SpecificationStructure): InterpolatedFragment

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

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

    Definition Classes
    ActionDslActionDsl
  96. def step(a: ⇒ Any): Fragment

    Definition Classes
    ActionDslActionDsl
  97. def stopOnFail: Arguments

    shortcut to stop after the first failure or error

    shortcut to stop after the first failure or error

    Definition Classes
    ArgumentsShortcuts
  98. def stopOnSkip: Arguments

    shortcut to stop after the first skipped result

    shortcut to stop after the first skipped result

    Definition Classes
    ArgumentsShortcuts
  99. def stopWhen(f: (Result) ⇒ Boolean): Fragment

    Definition Classes
    ActionDsl
  100. def stopWhen(r: Result): Fragment

    Definition Classes
    ActionDsl
  101. def stopWhenFail(when: ⇒ Boolean): Fragment

    Definition Classes
    ActionDsl
  102. def stopWhenFail: Fragment

    Definition Classes
    ActionDsl
  103. def stopWhenSkipped(when: ⇒ Boolean): Fragment

    Definition Classes
    ActionDsl
  104. def stopWhenSkipped: Fragment

    Definition Classes
    ActionDsl
  105. implicit def stringAsSpecStructure(s: String): SpecStructure

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

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

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

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

  110. def t: Fragment

  111. def tag(tag: NamedTag): Fragment

    Definition Classes
    TagDslTagDsl
  112. def tag(names: String*): Fragment

    Definition Classes
    TagDslTagDsl
  113. implicit def title(s: String): MutableTitleOps

    Definition Classes
    TitleDslTitleDsl
  114. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  118. 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
  119. def xonly: Arguments

    shortcut to print only failures and errors

    shortcut to print only failures and errors

    Definition Classes
    ArgumentsShortcuts

Inherited from MutableDsl

Inherited from TagDsl

Inherited from MutableFragmentBuilder

Inherited from ReferenceDsl

Inherited from ArgumentsDsl

Inherited from ArgumentsCreation

Inherited from MutableArgumentsBuilder

Inherited from TitleDsl

Inherited from MutableHeaderBuilder

Inherited from ActionDsl

Inherited from TextDsl

Inherited from TextCreation

Inherited from ExampleDsl

Inherited from ExampleDsl1

Inherited from BlockDsl

Inherited from BlockCreation

Inherited from AutoExamples

Inherited from FormattingFragments

Inherited from FragmentBuilder

Inherited from FormattingFragments

Inherited from S2StringContext

Inherited from S2StringContext1

Inherited from S2StringContextCreation

Inherited from ArgumentsShortcuts

Inherited from ArgumentsArgs

Inherited from ArgProperties

Inherited from main.ArgumentsCreation

Inherited from create.AutoExamples

Inherited from AcceptanceDsl

Inherited from dsl.ReferenceDsl

Inherited from dsl.ExampleDsl

Inherited from dsl.TitleDsl

Inherited from SpecStructureDsl

Inherited from SpecStructureDslLowImplicits

Inherited from FragmentsDsl

Inherited from AcceptanceDsl1

Inherited from dsl.ActionDsl

Inherited from dsl.TagDsl

Inherited from ReferenceCreation

Inherited from SpecStructureDsl1

Inherited from FragmentsFactory

Inherited from AnyRef

Inherited from Any

Ungrouped