SpecificationCreation

trait SpecificationCreation extends AcceptanceDsl with ArgumentsArgs with ArgumentsShortcuts with S2StringContext with FormattingFragments
trait S2StringContext1
trait ArgumentsShortcuts
trait ArgumentsArgs
trait ArgProperties
trait ArgumentsCreation
trait TitleDsl
trait SpecStructureDslLowImplicits
trait AcceptanceDsl1
trait ActionDsl
trait TagDsl
trait SpecStructureDsl1
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class BangExample(d: String)
Inherited from:
ExampleDsl
implicit implicit class HiddenFragment(fragment: Fragment)
Inherited from:
FragmentsDsl
implicit implicit class MutedFragment(fragment: Fragment)
Inherited from:
FragmentsDsl
class TitleOps(s: String)
Inherited from:
TitleDsl
implicit implicit class appendSpecStructureToFragment(f: Fragment)
Inherited from:
SpecStructureDsl
implicit implicit class appendSpecStructureToFragments(fs: => Fragments)
implicit implicit class appendSpecStructureToSpecHeader(header: SpecHeader)
Inherited from:
SpecStructureDsl
implicit implicit class appendSpecStructureToSpecStructure(structure: SpecStructure)
Inherited from:
SpecStructureDsl
implicit implicit class appendSpecStructureToString(s: String)
Inherited from:
SpecStructureDsl
implicit implicit class appendToArguments(args: Arguments)
Inherited from:
SpecStructureDsl1
implicit implicit class appendToFragment(f: Fragment)
Inherited from:
FragmentsDsl
implicit implicit class appendToFragments(fs: Fragments)
Inherited from:
FragmentsDsl
implicit implicit class appendToString(s: String)
Inherited from:
FragmentsDsl
implicit implicit class linkFragment(alias: String)
Inherited from:
ReferenceDsl
implicit implicit class seeFragment(alias: String)
Inherited from:
ReferenceDsl
implicit implicit class specificationInStringContext(sc: StringContext)

Value members

Inherited methods

def action(a: => Any): Fragment
Inherited from:
ActionDsl
def args(ex: ArgProperty[String], include: ArgProperty[String], exclude: ArgProperty[String], was: ArgProperty[String], plan: ArgProperty[Boolean], skipAll: ArgProperty[Boolean], stopOnFail: ArgProperty[Boolean], stopOnError: ArgProperty[Boolean], stopOnIssue: ArgProperty[Boolean], stopOnSkip: ArgProperty[Boolean], sequential: ArgProperty[Boolean], batchSize: ArgProperty[Int], asap: ArgProperty[Boolean], isolated: ArgProperty[Boolean], xonly: ArgProperty[Boolean], showOnly: ArgProperty[String], color: ArgProperty[Boolean]): Arguments

shorthand method to create an Arguments object

shorthand method to create an Arguments object

Inherited from:
ArgumentsCreation
def batchSize(n: Int): Arguments
Returns:

arguments for a specification where examples must in a given batch size

Inherited from:
ArgumentsShortcuts
Inherited from:
FormattingFragments
def bt(n: Int): Fragment
Inherited from:
FormattingFragments
Inherited from:
FormattingFragments
def colors(c: Colors): Arguments

shortcut to set new Colors

shortcut to set new Colors

Inherited from:
ArgumentsShortcuts
def diffs(show: Boolean, separators: String, triggerSize: Int, diffRatio: Int, shortenSize: Int, full: Boolean, seqTriggerSize: Int, seqMaxSize: Int): Arguments

shortcut to display the differences with some specific parameters

shortcut to display the differences with some specific parameters

Inherited from:
ArgumentsShortcuts
Inherited from:
FormattingFragments
def exclude(tags: String): Arguments

shortcut to exclude some tagged fragments

shortcut to exclude some tagged fragments

Inherited from:
ArgumentsShortcuts
def excludeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter

shortcut to add exclude trace patterns

shortcut to add exclude trace patterns

Inherited from:
ArgumentsShortcuts
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

Inherited from:
ArgumentsShortcuts
Inherited from:
FragmentsFactory
def fragmentsBlock(fragments: Seq[Fragment], offset: Int): 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

Inherited from:
FragmentsDsl
def fullStackTrace: Arguments

shortcut to filter nothing

shortcut to filter nothing

Inherited from:
ArgumentsShortcuts
def include(tags: String): Arguments

shortcut to include only some tagged fragments

shortcut to include only some tagged fragments

Inherited from:
ArgumentsShortcuts
def includeAlsoTrace(patterns: String*): IncludeExcludeStackTraceFilter

shortcut to add include trace patterns

shortcut to add include trace patterns

Inherited from:
ArgumentsShortcuts
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

Inherited from:
ArgumentsShortcuts
def isolated: Arguments
Returns:

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

Inherited from:
ArgumentsShortcuts
def nocolor: Arguments

shortcut to avoid colored output

shortcut to avoid colored output

Inherited from:
ArgumentsShortcuts
def only(examples: String): Arguments

shortcut to execute and print only some examples

shortcut to execute and print only some examples

Inherited from:
ArgumentsShortcuts
Inherited from:
FormattingFragments
def plan: Arguments

shortcut to show only the text without any execution

shortcut to show only the text without any execution

Inherited from:
ArgumentsShortcuts
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

Inherited from:
S2StringContextCreation
def section(tag: NamedTag): Fragment
Inherited from:
TagDsl
def section(names: String*): Fragment
Inherited from:
TagDsl
def sequential: Arguments
Returns:

arguments for a specification where examples must be executed sequentially

Inherited from:
ArgumentsShortcuts
def showOnly(s: String): Arguments

shortcut to print only some statuses

shortcut to print only some statuses

Inherited from:
ArgumentsShortcuts
def skipAll: Arguments

shortcut to skip all examples

shortcut to skip all examples

Inherited from:
ArgumentsShortcuts
def skipAllIf(condition: => Boolean): Arguments

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

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

Inherited from:
ArgumentsShortcuts
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.

Inherited from:
ArgumentsShortcuts
def step(a: => Any, global: Boolean): Fragment
Inherited from:
ActionDsl
def step(a: => Any): Fragment
Inherited from:
ActionDsl
def stopOnFail: Arguments

shortcut to stop after the first failure or error

shortcut to stop after the first failure or error

Inherited from:
ArgumentsShortcuts
def stopOnSkip: Arguments

shortcut to stop after the first skipped result

shortcut to stop after the first skipped result

Inherited from:
ArgumentsShortcuts
def t(n: Int): Fragment
Inherited from:
FormattingFragments
def t: Fragment
Inherited from:
FormattingFragments
def tag(tag: NamedTag): Fragment
Inherited from:
TagDsl
def tag(names: String*): Fragment
Inherited from:
TagDsl
def unbatched: Arguments
Returns:

arguments for a specification where examples must be executed inside just one big batch

Inherited from:
ArgumentsShortcuts
def was(s: String): Arguments

shortcut to include only examples with some previous statuses

shortcut to include only examples with some previous statuses

Inherited from:
ArgumentsShortcuts
def xonly: Arguments

shortcut to print only failures and errors

shortcut to print only failures and errors

Inherited from:
ArgumentsShortcuts

Inherited fields

lazy val args: ArgumentsNamespace
Inherited from:
ArgumentsCreation

Implicits

Inherited implicits

final implicit def HiddenFragment(fragment: Fragment): HiddenFragment
Inherited from:
FragmentsDsl
final implicit def MutedFragment(fragment: Fragment): MutedFragment
Inherited from:
FragmentsDsl
implicit def anyAsResultIsInterpolatedFragment(r: => Function0Result): InterpolatedFragment
Inherited from:
S2StringContext
implicit def anyToArgProperty[T](t: => T): ArgProperty[T]
Inherited from:
ArgProperties
Inherited from:
SpecStructureDslLowImplicits
Inherited from:
SpecStructureDsl
final implicit def appendToArguments(args: Arguments): appendToArguments
Inherited from:
SpecStructureDsl1
Inherited from:
FragmentsDsl
Inherited from:
FragmentsDsl
final implicit def appendToString(s: String): appendToString
Inherited from:
FragmentsDsl
implicit def asResultIsInterpolatedFragment[R : AsResult](r: => R): InterpolatedFragment
Inherited from:
S2StringContext1
implicit def bangExample(d: String): BangExample
Inherited from:
ExampleDsl
Inherited from:
S2StringContext1
Inherited from:
FragmentsDsl
Inherited from:
SpecStructureDsl1
final implicit def linkFragment(alias: String): linkFragment
Inherited from:
ReferenceDsl
implicit def resultAsSpecStructure[R : AsResult](r: => R): SpecStructure
Inherited from:
SpecStructureDslLowImplicits
final implicit def seeFragment(alias: String): seeFragment
Inherited from:
ReferenceDsl
Inherited from:
SpecStructureDsl
final implicit def specificationInStringContext(sc: StringContext): specificationInStringContext
Inherited from:
S2StringContext
implicit def stringAsSpecStructure(s: String): SpecStructure
Inherited from:
SpecStructureDsl
implicit def stringFunctionIsInterpolatedFragment[R : AsResult](f: String => R): InterpolatedFragment
Inherited from:
S2StringContext
Inherited from:
S2StringContext
implicit def title(s: String): TitleOps
Inherited from:
TitleDsl