AutoExamples

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

This trait allows to create examples where the description is the code itself and the code returns an AsResult value

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

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

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 methods

Attributes

Inherited from:
FragmentsFactory