org.specs2.specification.create

Members list

Type members

Classlikes

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

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AutoExamples extends AutoExamples

Attributes

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

Default implementation for the FormFragment Factory

Default implementation for the FormFragment Factory

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Default implementation of the FragmentFactory

Default implementation of the FragmentFactory

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Factory for creating Form fragments

Factory for creating Form fragments

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait FormDsl
trait Forms
object Forms

Allow to use forms inside interpolated strings starting with s2 in order to build the specification content

Allow to use forms inside interpolated strings starting with s2 in order to build the specification content

Attributes

Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Forms
object Forms
Self type

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
trait Interpolated

An interpolated element of a S2 string.

An interpolated element of a S2 string.

It takes the current piece of text preceding it to create Fragments to be appended to the already created Fragments

For example if the interpolated element is an execution then prepend will take the text to create an Example

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

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any