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

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
trait SpecificationCreation extends AcceptanceDsl, AutoExamples, ArgumentsArgs, ArgumentsShortcuts, S2StringContext, FormattingFragments

Attributes

Supertypes
trait ArgumentsShortcuts
trait ArgumentsArgs
trait ArgProperties
trait ArgumentsCreation
trait AutoExamples
trait ReferenceDsl
trait ExampleDsl
trait TitleDsl
trait FragmentsDsl
trait ActionDsl
trait TagDsl
class Object
trait Matchable
class Any
Show all
Known subtypes