This class is especially created when the first fragment of a specification is a boolean result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case
This class is especially created when the first fragment of a specification is a boolean result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case
transient class to hold an example description before creating a full Example
This class is especially created when the first fragment of a specification is a match result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case
This class is especially created when the first fragment of a specification is a match result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case
This class is especially created when the first fragment of a specification is a Result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case
This class is especially created when the first fragment of a specification is a Result (no text before) The startDepth and offsets are special tweakings to make sure we get the right line in that specific case
this syntax allows to declare auto examples with { .
this syntax allows to declare auto examples with { ... }.eg in mutable specifications
declaration of Fragments from the user
declaration of Fragments from the user
this syntax allows to declare auto examples with { .
this syntax allows to declare auto examples with { ... }.eg in mutable specifications
Arguments creation
Arguments creation
a Fragments object which can be chained with other fragments
this implicit def is necessary when the expression is at the start of the spec
this implicit def is necessary when the expression is at the start of the spec
this implicit def is necessary when the expression is at the start of the spec
this implicit def is necessary when the expression is at the start of the spec
transform a context to a result to allow the implicit passing of a context to each example
transform a context to a result to allow the implicit passing of a context to each example
specific implicits for datatables
specific implicits for datatables
add an after action to any kind of result
add an after action to any kind of result
add an Around function to any kind of result
add an Around function to any kind of result
add a before action to any kind of result
add a before action to any kind of result
explicit call
explicit call
explicit call The result type is different from the eg method to create examples in order to avoid an overloading error
explicit call The result type is different from the eg method to create examples in order to avoid an overloading error
explicit call.
explicit call. The result type is different from the eg method to create examples in order to avoid an overloading error
explicit call
explicit call
apply an implicit Fixture
apply an implicit Fixture
Example creation
Example creation
an Example description from a string, to create a full Example once the body is defined
format a list of fragments according to their formatting tags
format a list of fragments according to their formatting tags
add a tagging section with special tag names specifying the formatting options
add a tagging section with special tag names specifying the formatting options
add a tag with special tag names specifying the formatting options
add a tag with special tag names specifying the formatting options
a Fragments object from a single Fragment
reverse conversion from a Fragment containing a Fragments object to the Fragments object
reverse conversion from a Fragment containing a Fragments object to the Fragments object
specName provides useful information identifying the specification: title, className, url.
specName provides useful information identifying the specification: title, className, url...
automatically convert a specification to its identification
automatically convert a specification to its identification
add the fragments of another specification without start and end
add the fragments of another specification without start and end
create a link directly on a specification, with a given link
create a link directly on a specification, with a given link
create a link directly on a specification
create a link directly on a specification
this method can be overridden to map additional behavior in the user-defined fragments
this method can be overridden to map additional behavior in the user-defined fragments
this implicit def is necessary when the expression is at the start of the spec The startDepth and offsets are special tweakings to make sure we get the right line in that specific case
this implicit def is necessary when the expression is at the start of the spec The startDepth and offsets are special tweakings to make sure we get the right line in that specific case
this implicit def is necessary when the expression is at the start of the spec
this implicit def is necessary when the expression is at the start of the spec
use an available outside context to transform a function returning a value convertible to a result, into a result
use an available outside context to transform a function returning a value convertible to a result, into a result
this implicit def is necessary when the expression is at the start of the spec
this implicit def is necessary when the expression is at the start of the spec
this implicit def is necessary when the expression is at the start of the spec
this implicit def is necessary when the expression is at the start of the spec
based on the interpolated variables and the expressions captured with the macro, create the appropriate fragments
based on the interpolated variables and the expressions captured with the macro, create the appropriate fragments
if the Yrangepos scalac option is not set then we use an approximated method to find the expressions texts
create a AsSection fragment
create a AsSection fragment
create a see-only link directly on a specification, with a given link
create a see-only link directly on a specification, with a given link
create a html link without including the other specification fragments
create a html link without including the other specification fragments
create markdown links from string + spec identification
create markdown links from string + spec identification
this implicit allows to call some functions directly on a specification, like 'hide'
this implicit allows to call some functions directly on a specification, like 'hide'
Links to other specifications creation
Links to other specifications creation
org.specs2.UserGuide
create a TaggedAs fragment
create a TaggedAs fragment
create a Text Fragment from a string and allow it to be chained to other fragments
a Fragments object from a string
This method allows to add a title to the Specification.
This method allows to add a title to the Specification. It can be used as an operation on a String:
"spec title".title
a Fragments object from a string, with the given title
The Specification trait can be extended to create a specification.
It provides:
SpecificationFeatures for more details