Trait

org.specs2.specification.create

SpecificationCreation

Related Doc: package create

Permalink

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
Visibility
  1. Public
  2. All

Type Members

  1. class BangExample extends AnyRef

    Permalink
    Definition Classes
    ExampleDsl
  2. implicit class HiddenFragment extends AnyRef

    Permalink
    Definition Classes
    FragmentsDsl
  3. implicit class MutedFragment extends AnyRef

    Permalink
    Definition Classes
    FragmentsDsl
  4. class TitleOps extends AnyRef

    Permalink
    Definition Classes
    TitleDsl
  5. implicit class appendSpecStructureToFragment extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDsl
  6. implicit class appendSpecStructureToFragments extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDslLowImplicits
  7. implicit class appendSpecStructureToSpecHeader extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDsl
  8. implicit class appendSpecStructureToSpecStructure extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDsl
  9. implicit class appendSpecStructureToString extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDsl
  10. implicit class appendToArguments extends AnyRef

    Permalink
    Definition Classes
    SpecStructureDsl1
  11. implicit class appendToFragment extends AnyRef

    Permalink
    Definition Classes
    FragmentsDsl
  12. implicit class appendToFragments extends AnyRef

    Permalink
    Definition Classes
    FragmentsDsl
  13. implicit class appendToString extends AnyRef

    Permalink
    Definition Classes
    FragmentsDsl
  14. implicit class linkFragment extends AnyRef

    Permalink
    Definition Classes
    ReferenceDsl
  15. implicit class seeFragment extends AnyRef

    Permalink
    Definition Classes
    ReferenceDsl
  16. implicit class specificationInStringContext extends AnyRef

    Permalink
    Definition Classes
    S2StringContextCreation

Value Members

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

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

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

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

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

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

    Permalink
    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

    Permalink

    shorthand method to create an Arguments object

    shorthand method to create an Arguments object

    Definition Classes
    ArgumentsCreation
  8. lazy val args: ArgumentsNamespace

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

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

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

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

    Permalink
    Definition Classes
    ExampleDsl
  13. def br: Fragment

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

    Permalink
    Definition Classes
    FormattingFragments
  15. def bt: Fragment

    Permalink
    Definition Classes
    FormattingFragments
  16. def clone(): AnyRef

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

    Permalink

    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

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

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

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

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

    Permalink
    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

    Permalink

    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

    Permalink
    Definition Classes
    AutoExamples
  25. def end: Fragment

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

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

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

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

    Permalink

    shortcut to exclude some tagged fragments

    shortcut to exclude some tagged fragments

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

    Permalink

    shortcut to add exclude trace patterns

    shortcut to add exclude trace patterns

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

    Permalink

    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

    Permalink
    Definition Classes
    S2StringContext
  33. implicit def executionEnvFunctionIsInterpolatedFragment[R](f: (ExecutionEnv) ⇒ R)(implicit arg0: AsResult[R]): InterpolatedFragment

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

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

    Permalink
    Definition Classes
    S2StringContext
  36. def finalize(): Unit

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

    Permalink
    Definition Classes
    SpecStructureDsl
  38. def fragmentFactory: FragmentFactory

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

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

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

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

    Permalink

    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
  43. implicit def fragmentsIsInterpolatedFragment(fragments: Fragments): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  44. def fullStackTrace: Arguments

    Permalink

    shortcut to filter nothing

    shortcut to filter nothing

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

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

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

    Permalink

    shortcut to include only some tagged fragments

    shortcut to include only some tagged fragments

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

    Permalink

    shortcut to add include trace patterns

    shortcut to add include trace patterns

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

    Permalink

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

    Permalink
    Definition Classes
    Any
  51. def isolated: Arguments

    Permalink

    returns

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  55. def nocolor: Arguments

    Permalink

    shortcut to avoid colored output

    shortcut to avoid colored output

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

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

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

    Permalink

    shortcut to execute and print only some examples

    shortcut to execute and print only some examples

    Definition Classes
    ArgumentsShortcuts
  59. def p: Fragments

    Permalink
    Definition Classes
    FormattingFragments
  60. def plan: Arguments

    Permalink

    shortcut to show only the text without any execution

    shortcut to show only the text without any execution

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

    Permalink
    Definition Classes
    SpecStructureDslLowImplicits
  62. def s2(content: String, Yrangepos: Boolean, texts: Seq[String], textsStartPositions: Seq[String], textsEndPositions: Seq[String], variables: Seq[InterpolatedFragment], rangeExpressions: Seq[String]): Fragments

    Permalink

    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
  63. def section(tag: NamedTag): Fragment

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

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

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

    Permalink
    Definition Classes
    ReferenceCreation
  67. def sequential: Arguments

    Permalink

    returns

    arguments for a specification where examples must be executed sequentially

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

    Permalink

    shortcut to print only some statuses

    shortcut to print only some statuses

    Definition Classes
    ArgumentsShortcuts
  69. def skipAll: Arguments

    Permalink

    shortcut to skip all examples

    shortcut to skip all examples

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

    Permalink

    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
  71. def skipAllUnless(condition: ⇒ Boolean): Arguments

    Permalink

    shortcut to skip all examples when a condition is false.

    shortcut to skip all examples when a condition is false.

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    ActionDsl
  80. implicit def stepParserIsInterpolatedFragment[R](f: StepParser[R])(implicit arg0: AsResult[R]): InterpolatedFragment

    Permalink
    Definition Classes
    S2StringContext
  81. def stopOnFail: Arguments

    Permalink

    shortcut to stop after the first failure or error

    shortcut to stop after the first failure or error

    Definition Classes
    ArgumentsShortcuts
  82. def stopOnSkip: Arguments

    Permalink

    shortcut to stop after the first skipped result

    shortcut to stop after the first skipped result

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

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

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

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

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

    Permalink
    Definition Classes
    FormattingFragments
  88. def t: Fragment

    Permalink
    Definition Classes
    FormattingFragments
  89. def tag(tag: NamedTag): Fragment

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

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

    Permalink
    Definition Classes
    TitleDsl
  92. def toString(): String

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

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

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

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

    Permalink

    shortcut to include only examples with some previous statuses

    shortcut to include only examples with some previous statuses

    Definition Classes
    ArgumentsShortcuts
  97. def xonly: Arguments

    Permalink

    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