transient class to hold an example description before creating a full Example
transient class to hold an example description before creating a full Example
transient class to hold an example description before creating a full Example
This class creates Given or Then extractors from a regular expression and a function
adding a conflicting implicit to warn the user when a >>
was forgotten
at any point in time a regex sequence can be transformed as a sequence of Fragments
at any point in time a regex sequence can be transformed as a sequence of Fragments
add a new action to the Fragments
Arguments creation
Arguments creation
a Fragments object which can be chained with other fragments
implicit conversion to transform a Given[Y] to Given[X] when Y <: X
implicit conversion to transform a Given[Y] to Given[X] when Y <: X
Example creation
Example creation
an Example description from a string, to create a full Example once the body is defined
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
factory method to create a Given or a Then element from a regex, using a regex denoting groups to extract
factory method to create a Given or a Then element from a regex, using a regex denoting groups to extract
Create GWT fragments with the << syntax for a mutable specification
add a new example using 'in' or '>>' or '!'
transform a scope to a success to be able to create traits containing any variables and usable in any Examples
transform a scope to a success to be able to create traits containing any variables and usable in any Examples
add a new link to the Fragments
add a new link to the Fragments
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
factory method to create a Given or a Then element from a regex
factory method to create a Given or a Then element from a regex
typeclass to transform a Scope to a Result
typeclass to transform a Scope to a Result
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
local mutable contents of the specification
local mutable contents of the specification
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'
add a new stopOnFail step to the Fragments
add a new step to the Fragments
Links to other specifications creation
Links to other specifications creation
org.specs2.UserGuide
a Fragments object from a single piece of text
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
implicit conversion to transform a Then[Y] to Then[X] when Y <: X
implicit conversion to transform a Then[Y] to Then[X] when Y <: X
implicit conversion to transform a When[P, Q] to When[R, S] when R <: P and S >: Q
implicit conversion to transform a When[P, Q] to When[R, S] when R <: P and S >: Q
Adding new implicits to support specs-like naming: "the system" should "do this" in { ... }
This trait belongs to the mutable package because it works by mutating a local variable each time a new Fragment is created.