org.specs2.specification.create

Members list

Type members

Classlikes

Fragment factory that is creating examples with a given context and delegating to another factory all the rest

Fragment factory that is creating examples with a given context and delegating to another factory all the rest

Attributes

Supertypes
class Object
trait Matchable
class Any

Default implementation of the FragmentFactory

Default implementation of the FragmentFactory

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object S2StringContext.type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

FragmentFactory trait which can be mixed in a Specification to create Fragments but which will delegate the creation to a factory member

FragmentFactory trait which can be mixed in a Specification to create Fragments but which will delegate the creation to a factory member

Attributes

Supertypes
class Object
trait Matchable
class Any

Fragments which can be used to change the display of the Specification: paragraphs, breaks, tabs

Fragments which can be used to change the display of the Specification: paragraphs, breaks, tabs

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Interface for creating specification fragments

Interface for creating specification fragments

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Trait for anything requiring a fragment factory

Trait for anything requiring a fragment factory

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

An interpolated fragment

An interpolated fragment

  • is appended to the previous fragments
  • can use the previous text, start location, end location and interpolated expression to create new Fragments

Attributes

Supertypes
class Object
trait Matchable
class Any

These implicit methods declare which kind of object can be interpolated in a s2 string;

These implicit methods declare which kind of object can be interpolated in a s2 string;

  • a function using the previous text and returning Fragments
  • specification references
  • examples using the Env, arguments, the statistics repository, the command line arguments
  • other specifications
  • strings
  • fragments

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Methods to create interpolated fragments with no implicits

Methods to create interpolated fragments with no implicits

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
trait SpecificationCreation extends AcceptanceDsl, ArgumentsArgs, ArgumentsShortcuts, S2StringContext, FormattingFragments

Attributes

Supertypes
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