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

Companion:
object
class Object
trait Matchable
class Any

Implicits

Implicits

implicit inline def scriptIsInterpolatedFragment(inline script: Script): Interpolated

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