ExampleDsl

org.specs2.specification.dsl.mutable.ExampleDsl
trait ExampleDsl extends ExampleDsl

Dsl for creating examples in a mutable specification

Attributes

Graph
Supertypes
trait ExampleDsl
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Inherited classlikes

trait ToBlock[S, R]

Attributes

Inherited from:
BlockCreation (hidden)
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Value members

Concrete methods

override def addExample(d: String, execution: => Execution): Fragment

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
FragmentBuilder

Attributes

Inherited from:
FragmentBuilder

Attributes

Inherited from:
FragmentBuilder
def addSections(): Unit

Attributes

Inherited from:
FragmentBuilder

Attributes

Inherited from:
FragmentsFactory
def hasSectionsForBlocks: Boolean

Attributes

Inherited from:
FragmentBuilder

Extensions

Inherited extensions

extension (d: String)(using not: NotGiven[NoBangExamples])
def !(execution: => Execution): Fragment

Attributes

Inherited from:
ExampleDsl
extension [R](d: String)(using not: NotGiven[NoBangExamples])(using evidence$2: AsResult[R])
def !(r: String => R): Fragment

Attributes

Inherited from:
ExampleDsl
extension [R](d: String)(using not: NotGiven[NoBangExamples])(using evidence$1: AsResult[R])
def !(r: => R): Fragment

Attributes

Inherited from:
ExampleDsl
extension [R](d: String)(using not: NotGiven[NoBangExamples])(using evidence$3: AsResult[R])
def !(r: Env => R): Fragment

Attributes

Inherited from:
ExampleDsl