StepParsers

org.specs2.specification.script.StepParsers
See theStepParsers companion trait
object StepParsers extends StepParsers

Attributes

Companion
trait
Graph
Supertypes
trait StepParsers
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited classlikes

class ReadAs(regex: Regex, groups: Regex)

This class creates Given or Then extractors from a regular expression and a function

This class creates Given or Then extractors from a regular expression and a function

Attributes

Inherited from:
StepParsers
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

def apply[T](f: (String, String, String, String, String, String, String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]

Attributes

Inherited from:
StepParsers
def apply[T](f: (String, String, String, String, String, String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]

Attributes

Inherited from:
StepParsers
def apply[T](f: (String, String, String, String, String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]

Attributes

Inherited from:
StepParsers
def apply[T](f: (String, String, String, String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]

Attributes

Inherited from:
StepParsers
def apply[T](f: (String, String, String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]

Attributes

Inherited from:
StepParsers
def apply[T](f: (String, String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]

Attributes

Inherited from:
StepParsers
def apply[T](f: (String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]

Attributes

Inherited from:
StepParsers
def apply[T](f: (String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]

Attributes

Inherited from:
StepParsers
def apply[T](f: (String, String) => T)(using fpr: Regex): DelimitedStepParser[T]

Attributes

Inherited from:
StepParsers
def apply[T](f: String => T)(using fpr: Regex): DelimitedStepParser[T]

Attributes

Inherited from:
StepParsers
def groupAs(groupRegex: String): ReadAs

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

Attributes

Inherited from:
StepParsers
def readAs(regex: String): ReadAs

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

Attributes

Inherited from:
StepParsers
def seq[T](f: Seq[String] => T)(using fpr: Regex): DelimitedStepParser[T]

Attributes

Inherited from:
StepParsers

Inherited fields

val extract: StepParser.type

Attributes

Inherited from:
StepParsers

Givens

Inherited givens

given stepParserRegex: Regex

Attributes

Inherited from:
StepParsers