Script
org.specs2.specification.script.Script
trait Script
A Script is responsible for analysing a piece of text an creating a sequence of fragments.
It usually uses a ScriptTemplate specifying how to parse the text into block of lines that the Script knows how to transform to fragments.
For example a GWT script (a Scenario
) stores functions to create Given/When/Then steps and examples and the LastLinesScriptTemplate extract the last lines of a piece of text and divides them into blocks of Given/When/Then lines based on the number of steps in the Scenario.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class GroupsScript
Members list
In this article