GwenWebInterpreter

gwen.web.GwenWebInterpreter$
object GwenWebInterpreter extends GwenInterpreter[WebContext], WebProjectInitialiser

The main gwen-web interpreter.

Attributes

Graph
Supertypes
class GwenInterpreter[WebContext]
trait NoopProjectInitialiser
class GwenLauncher[WebContext]
trait GherkinParser
trait ProjectInitialiser
trait LazyLogging
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

override def init(options: GwenOptions): GwenOptions

Attributes

Definition Classes
GwenInterpreter

Inherited methods

override def init(isNew: Boolean, flat: Boolean, options: GwenOptions): Unit

Initialises a new Gwen project.

Initialises a new Gwen project.

Value parameters

flat

true if initialising in current or nested directory

isNew

true if the project is new, false otherwise

options

Gwen options

Attributes

Definition Classes
WebProjectInitialiser -> ProjectInitialiser
Inherited from:
WebProjectInitialiser
final def initProject(options: GwenOptions): Unit

Initialises a project direcotry given the user options

Initialises a project direcotry given the user options

Attributes

Inherited from:
ProjectInitialiser
def main(args: Array[String]): Unit

Attributes

Inherited from:
GwenInterpreter
def parseSpec(feature: String): Try[Spec]

Produces a complete feature spec tree (this method is used to parse entire features).

Produces a complete feature spec tree (this method is used to parse entire features).

Attributes

Inherited from:
GherkinParser
def parseSpec(specFile: File, verbatim: Boolean): Try[Spec]

Parses a Gherkin feature specification

Parses a Gherkin feature specification

Attributes

Inherited from:
GherkinParser
def parseStep(step: String): Try[Step]

Produces a step node (this method is used by the REPL to read in invididual steps only)

Produces a step node (this method is used by the REPL to read in invididual steps only)

Attributes

Inherited from:
GherkinParser
def run(options: GwenOptions, ctxOpt: Option[WebContext]): EvalStatus

Runs the interpreter with the given options.

Runs the interpreter with the given options.

Value parameters

ctxOpt

optional evaluation context (None to have Gwen create an env context for each feature unit, Some(ctx) to reuse a context for all, default is None)

options

the command line options

Attributes

Inherited from:
GwenLauncher

Inherited fields

val CurrentDir: File

Attributes

Inherited from:
ProjectInitialiser
lazy protected val logger: Logger

Attributes

Inherited from:
LazyLogging