AutoExamples

org.specs2.specification.create.AutoExamples
See theAutoExamples companion trait
object AutoExamples extends AutoExamples

Attributes

Companion
trait
Graph
Supertypes
trait AutoExamples
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def create[T](code: Expr[() => T], asResult: Expr[AsResult[T]], postProcess: Expr[Fragments => Fragments])(using qctx: Quotes)(using t: Type[T], t1: Type[() => T]): Expr[Fragments]
def createExample[T](expression: String, code: () => T, asResult: AsResult[T]): Fragments
def makeExample[T](expression: String, code: => T, asResult: AsResult[T]): Fragment

Inherited methods

inline def eg[T](inline code: => T)(using asResult: AsResult[T]): Fragments

Attributes

Inherited from:
AutoExamples

Attributes

Inherited from:
FragmentsFactory

this function is introduced just to allow the mutable specification to register the newly created fragments

this function is introduced just to allow the mutable specification to register the newly created fragments

Attributes

Inherited from:
AutoExamples