SpecificationCreation

org.specs2.specification.dsl.mutable.SpecificationCreation

Trait for creating a mutable specification

Attributes

Graph
Supertypes
trait MutableDsl
trait TagDsl
trait ReferenceDsl
trait ArgumentsDsl
trait TitleDsl
trait ActionDsl
trait TextDsl
trait TextCreation
trait ExampleDsl
trait BlockDsl
trait ArgumentsShortcuts
trait ArgumentsArgs
trait ArgProperties
trait ArgumentsCreation
trait ReferenceDsl
trait ExampleDsl
trait TitleDsl
trait FragmentsDsl
trait ActionDsl
trait TagDsl
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Inherited classlikes

class BangExample(d: String)

Attributes

Inherited from:
ExampleDsl
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BlockExample(d: String) extends BlockExample0

Attributes

Inherited from:
ExampleDsl1 (hidden)
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BlockExample0(d: String)

Attributes

Inherited from:
ExampleDsl0 (hidden)
Supertypes
class Object
trait Matchable
class Any
Known subtypes
implicit class FragmentTaggedAs(f: => Fragment)

This implicit allows to add tags and sections after the examples

This implicit allows to add tags and sections after the examples

Attributes

Inherited from:
TagDsl
Supertypes
class Object
trait Matchable
class Any
implicit class FragmentsTaggedAs(fs: => Fragments)

This implicit allows to add tags and sections after the examples

This implicit allows to add tags and sections after the examples

Attributes

Inherited from:
TagDsl
Supertypes
class Object
trait Matchable
class Any
implicit class HiddenFragment(fragment: Fragment)

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any
class MutableBangExample(d: String) extends BangExample

Attributes

Inherited from:
ExampleDsl
Supertypes
class BangExample
class Object
trait Matchable
class Any
class MutableTitleOps(s: String) extends TitleOps

Attributes

Inherited from:
TitleDsl
Supertypes
class TitleOps
class Object
trait Matchable
class Any
implicit class MutedFragment(fragment: Fragment)

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any
class TitleOps(s: String)

Attributes

Inherited from:
TitleDsl
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class WarningForgottenOperator(s: String)

Attributes

Inherited from:
BlockDsl
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
SpecStructureDsl
Supertypes
class Object
trait Matchable
class Any
implicit class appendSpecStructureToFragments(fs: => Fragments)

Attributes

Inherited from:
SpecStructureDslLowImplicits (hidden)
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
SpecStructureDsl
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
SpecStructureDsl
Supertypes
class Object
trait Matchable
class Any
implicit class appendSpecStructureToString(s: String)

Attributes

Inherited from:
SpecStructureDsl
Supertypes
class Object
trait Matchable
class Any
implicit class appendToArguments(args: Arguments)

Attributes

Inherited from:
SpecStructureDsl1 (hidden)
Supertypes
class Object
trait Matchable
class Any
implicit class appendToFragment(f: Fragment)

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any
implicit class appendToFragments(fs: Fragments)

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any
implicit class appendToString(s: String)

Attributes

Inherited from:
FragmentsDsl
Supertypes
class Object
trait Matchable
class Any
implicit class describe(d: String)

Attributes

Inherited from:
BlockDsl
Supertypes
class Object
trait Matchable
class Any
implicit class fragmentFormatting(f: => Fragment)

Attributes

Inherited from:
TextDsl
Supertypes
class Object
trait Matchable
class Any
implicit class fragmentsFormatting(fs: => Fragments)

Attributes

Inherited from:
TextDsl
Supertypes
class Object
trait Matchable
class Any
implicit class linkFragment(alias: String)

Attributes

Inherited from:
ReferenceDsl
Supertypes
class Object
trait Matchable
class Any
Known subtypes
implicit class mutableLinkFragment(alias: String) extends linkFragment

Attributes

Inherited from:
ReferenceDsl
Supertypes
class linkFragment
class Object
trait Matchable
class Any
implicit class mutableSeeFragment(alias: String) extends seeFragment

Attributes

Inherited from:
ReferenceDsl
Supertypes
class seeFragment
class Object
trait Matchable
class Any
implicit class seeFragment(alias: String)

Attributes

Inherited from:
ReferenceDsl
Supertypes
class Object
trait Matchable
class Any
Known subtypes
implicit class specificationInStringContext(sc: StringContext)

Attributes

Inherited from:
S2StringContextCreation
Supertypes
class Object
trait Matchable
class Any
implicit class textFragment(s: String)

Attributes

Inherited from:
TextDsl
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def s2(content: String, Yrangepos: Boolean, texts: Seq[String], textsStartPositions: Seq[String], textsEndPositions: Seq[String], variables: Seq[InterpolatedFragment], rangeExpressions: Seq[String]): Fragments

add fragments created with the s2 interpolated string

add fragments created with the s2 interpolated string

Attributes

Definition Classes

Inherited methods

override def action(a: => Any): Fragment

Attributes

Definition Classes
Inherited from:
ActionDsl
def addBacktab(n: Int): Fragment

Attributes

Inherited from:
TextCreation

Attributes

Inherited from:
TextCreation
def addBreak(n: Int): Fragment

Attributes

Inherited from:
TextCreation

Attributes

Inherited from:
TextCreation
def addFragment(fragment: Fragment): Fragment

Attributes

Inherited from:
MutableFragmentBuilder

Attributes

Inherited from:
MutableFragmentBuilder
def addFragmentBlockWithText(text: String, f: => Fragment): Fragment

Attributes

Inherited from:
BlockDsl
def addFragments(fragments: Fragments): Fragments

Attributes

Inherited from:
MutableFragmentBuilder

Attributes

Inherited from:
MutableFragmentBuilder
def addFragmentsBlockWithText(text: String, fs: => Fragments)(implicit p1: ImplicitParam1): Fragments

Attributes

Inherited from:
BlockDsl
def addParagraph(s: String, n: Int): Fragment

Attributes

Inherited from:
TextCreation
def addSections(): Unit

Attributes

Inherited from:
MutableFragmentBuilder
def addTab(n: Int): Fragment

Attributes

Inherited from:
TextCreation

Attributes

Inherited from:
TextCreation
def addText(s: String): Fragment

Attributes

Inherited from:
TextCreation
override 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

Attributes

Definition Classes
ArgumentsCreation -> ArgumentsCreation
Inherited from:
ArgumentsCreation
def batchSize(n: Int): Arguments

Attributes

Returns

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

Inherited from:
ArgumentsShortcuts
override def blockExample0(d: String): BlockExample0

Attributes

Definition Classes
ExampleDsl1 -> ExampleDsl0
Inherited from:
ExampleDsl1 (hidden)
override def br: Fragment

Attributes

Definition Classes
Inherited from:
FormattingFragments
override def bt(n: Int): Fragment

Attributes

Definition Classes
Inherited from:
FormattingFragments
override def bt: Fragment

Attributes

Definition Classes
Inherited from:
FormattingFragments
def colors(c: Colors): Arguments

shortcut to set new Colors

shortcut to set new Colors

Attributes

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

Attributes

Inherited from:
ArgumentsShortcuts
override def end: Fragment

Attributes

Definition Classes
Inherited from:
FormattingFragments
def exclude(tags: String): Arguments

shortcut to exclude some tagged fragments

shortcut to exclude some tagged fragments

Attributes

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

shortcut to add exclude trace patterns

shortcut to add exclude trace patterns

Attributes

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

Attributes

Inherited from:
ArgumentsShortcuts

Attributes

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

Attributes

Inherited from:
FragmentsDsl
def fullStackTrace: Arguments

shortcut to filter nothing

shortcut to filter nothing

Attributes

Inherited from:
ArgumentsShortcuts
def hasSectionsForBlocks: Boolean

Attributes

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

shortcut to include only some tagged fragments

shortcut to include only some tagged fragments

Attributes

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

shortcut to add include trace patterns

shortcut to add include trace patterns

Attributes

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

Attributes

Inherited from:
ArgumentsShortcuts

Attributes

Inherited from:
MutableFragmentBuilder
def isolated: Arguments

Attributes

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

Attributes

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

shortcut to execute and print only some examples

shortcut to execute and print only some examples

Attributes

Inherited from:
ArgumentsShortcuts
override def p: Fragments

Attributes

Definition Classes
Inherited from:
FormattingFragments
def plan: Arguments

shortcut to show only the text without any execution

shortcut to show only the text without any execution

Attributes

Inherited from:
ArgumentsShortcuts
override def section(tag: NamedTag): Fragment

Attributes

Definition Classes
Inherited from:
TagDsl
override def section(names: String*): Fragment

Attributes

Definition Classes
Inherited from:
TagDsl
override def see(s: => SpecificationStructure): Fragment

Attributes

Definition Classes
Inherited from:
ReferenceDsl
override def see(s: SpecStructure): Fragment

Attributes

Definition Classes
Inherited from:
ReferenceDsl
def sequential: Arguments

Attributes

Returns

arguments for a specification where examples must be executed sequentially

Inherited from:
ArgumentsShortcuts
def setArguments(a: Arguments): Arguments

Attributes

Inherited from:
MutableArgumentsBuilder
def setTitle(t: String): SpecHeader

Attributes

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

shortcut to print only some statuses

shortcut to print only some statuses

Attributes

Inherited from:
ArgumentsShortcuts
def skipAll: Arguments

shortcut to skip all examples

shortcut to skip all examples

Attributes

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

Attributes

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.

Attributes

Inherited from:
ArgumentsShortcuts

Attributes

Inherited from:
MutableFragmentBuilder
override def step(a: => Any, global: Boolean): Fragment

Attributes

Definition Classes
Inherited from:
ActionDsl
override def step(a: => Any): Fragment

Attributes

Definition Classes
Inherited from:
ActionDsl
def stopOnFail: Arguments

shortcut to stop after the first failure or error

shortcut to stop after the first failure or error

Attributes

Inherited from:
ArgumentsShortcuts
def stopOnSkip: Arguments

shortcut to stop after the first skipped result

shortcut to stop after the first skipped result

Attributes

Inherited from:
ArgumentsShortcuts
def stopWhen(f: Result => Boolean): Fragment

Attributes

Inherited from:
ActionDsl
def stopWhen(r: Result): Fragment

Attributes

Inherited from:
ActionDsl
def stopWhenFail(when: => Boolean): Fragment

Attributes

Inherited from:
ActionDsl

Attributes

Inherited from:
ActionDsl
def stopWhenSkipped(when: => Boolean): Fragment

Attributes

Inherited from:
ActionDsl

Attributes

Inherited from:
ActionDsl
override def t(n: Int): Fragment

Attributes

Definition Classes
Inherited from:
FormattingFragments
override def t: Fragment

Attributes

Definition Classes
Inherited from:
FormattingFragments
override def tag(tag: NamedTag): Fragment

Attributes

Definition Classes
Inherited from:
TagDsl
override def tag(names: String*): Fragment

Attributes

Definition Classes
Inherited from:
TagDsl
def unbatched: Arguments

Attributes

Returns

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

Inherited from:
ArgumentsShortcuts
def updateArguments(a: Arguments): Arguments

Attributes

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

shortcut to include only examples with some previous statuses

shortcut to include only examples with some previous statuses

Attributes

Inherited from:
ArgumentsShortcuts
def xonly: Arguments

shortcut to print only failures and errors

shortcut to print only failures and errors

Attributes

Inherited from:
ArgumentsShortcuts

Inherited fields

lazy override val args: ArgumentsNamespaceMutable

Attributes

Inherited from:
ArgumentsCreation

Implicits

Inherited implicits

final implicit def FragmentTaggedAs(f: => Fragment): FragmentTaggedAs

This implicit allows to add tags and sections after the examples

This implicit allows to add tags and sections after the examples

Attributes

Inherited from:
TagDsl
final implicit def FragmentsTaggedAs(fs: => Fragments): FragmentsTaggedAs

This implicit allows to add tags and sections after the examples

This implicit allows to add tags and sections after the examples

Attributes

Inherited from:
TagDsl
final implicit def HiddenFragment(fragment: Fragment): HiddenFragment

Attributes

Inherited from:
FragmentsDsl
final implicit def MutedFragment(fragment: Fragment): MutedFragment

Attributes

Inherited from:
FragmentsDsl
> result ***-e97" data-f-keywords="implicit" data-f-inherited="BlockDsl">

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

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

Attributes

Inherited from:
> result ***-e97">BlockDsl
implicit def anyAsResultIsInterpolatedFragment(r: => Function0Result): InterpolatedFragment

Attributes

Inherited from:
S2StringContext
implicit def anyToArgProperty[T](t: => T): ArgProperty[T]

Attributes

Inherited from:
ArgProperties

Attributes

Inherited from:
SpecStructureDsl

Attributes

Inherited from:
SpecStructureDslLowImplicits (hidden)

Attributes

Inherited from:
SpecStructureDsl

Attributes

Inherited from:
SpecStructureDsl
final implicit def appendToArguments(args: Arguments): appendToArguments

Attributes

Inherited from:
SpecStructureDsl1 (hidden)
final implicit def appendToFragment(f: Fragment): appendToFragment

Attributes

Inherited from:
FragmentsDsl
final implicit def appendToFragments(fs: Fragments): appendToFragments

Attributes

Inherited from:
FragmentsDsl
final implicit def appendToString(s: String): appendToString

Attributes

Inherited from:
FragmentsDsl

Attributes

Inherited from:
S2StringContext
implicit def asResultIsInterpolatedFragment[R : AsResult](r: => R): InterpolatedFragment

Attributes

Inherited from:
S2StringContext1 (hidden)
implicit override def bangExample(d: String): BangExample

Attributes

Definition Classes
Inherited from:
ExampleDsl
implicit def blockExample(d: String): BlockExample

Attributes

Inherited from:
ExampleDsl1 (hidden)
final implicit def describe(d: String): describe

Attributes

Inherited from:
BlockDsl

Attributes

Inherited from:
S2StringContext

Attributes

Inherited from:
S2StringContext

Attributes

Inherited from:
SpecStructureDsl
final implicit def fragmentFormatting(f: => Fragment): fragmentFormatting

Attributes

Inherited from:
TextDsl

Attributes

Inherited from:
S2StringContext1 (hidden)

Attributes

Inherited from:
FragmentsDsl

Attributes

Inherited from:
SpecStructureDsl1 (hidden)
final implicit def fragmentsFormatting(fs: => Fragments): fragmentsFormatting

Attributes

Inherited from:
TextDsl

Attributes

Inherited from:
S2StringContext
final implicit def linkFragment(alias: String): linkFragment

Attributes

Inherited from:
ReferenceDsl
final implicit def mutableLinkFragment(alias: String): mutableLinkFragment

Attributes

Inherited from:
ReferenceDsl
final implicit def mutableSeeFragment(alias: String): mutableSeeFragment

Attributes

Inherited from:
ReferenceDsl
implicit def resultAsSpecStructure[R : AsResult](r: => R): SpecStructure

Attributes

Inherited from:
SpecStructureDslLowImplicits (hidden)
final implicit def seeFragment(alias: String): seeFragment

Attributes

Inherited from:
ReferenceDsl

Attributes

Inherited from:
SpecStructureDsl

Attributes

Inherited from:
SpecStructureDsl
final implicit def specificationInStringContext(sc: StringContext): specificationInStringContext

Attributes

Inherited from:
S2StringContextCreation

Attributes

Inherited from:
S2StringContext
implicit def stringAsSpecStructure(s: String): SpecStructure

Attributes

Inherited from:
SpecStructureDsl
implicit def stringFunctionIsInterpolatedFragment[R : AsResult](f: String => R): InterpolatedFragment

Attributes

Inherited from:
S2StringContext

Attributes

Inherited from:
S2StringContext
final implicit def textFragment(s: String): textFragment

Attributes

Inherited from:
TextDsl
implicit override def title(s: String): MutableTitleOps

Attributes

Definition Classes
Inherited from:
TitleDsl