Scripts

org.specs2.specification.script.Scripts
trait Scripts

The Scripts trait builds fragments based on Script objects.

When the script starts, a section tag is inserted and when it ends another one as well. Also when the scripts ends, it is passed the previous text for analysis to extract new fragments

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SpecLike
class Spec
Show all
Self type

Members list

Implicits

Implicits

a sequence of GWT steps can be inserted in a specification to delimit pieces of text to interpret. The "given/when" steps create execute.Step objects while the "then" steps create Examples

a sequence of GWT steps can be inserted in a specification to delimit pieces of text to interpret. The "given/when" steps create execute.Step objects while the "then" steps create Examples

The whole sequence also creates one tagged section with the title of the sequence

Attributes