org.specs2.specification.create
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
- Companion
- object
Default implementation of the FragmentFactory
Default implementation of the FragmentFactory
- Companion
- object
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
- Companion
- object
Interface for creating specification fragments
Interface for creating specification fragments
Trait for anything requiring a fragment factory
Trait for anything requiring a fragment factory
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
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
- Companion
- object