Constructor and Description |
---|
Parser(Formatter formatter) |
Parser(Formatter formatter,
boolean throwOnError) |
Parser(Formatter formatter,
boolean throwOnError,
String machineName) |
Parser(Formatter formatter,
boolean throwOnError,
String machineName,
boolean forceRubyDummy) |
Parser(Formatter formatter,
boolean throwOnError,
String machineName,
boolean forceRubyDummy,
String isoCode) |
Modifier and Type | Method and Description |
---|---|
void |
background(String keyword,
String name,
String description,
Integer line) |
void |
comment(String comment,
Integer line) |
void |
docString(String contentType,
String content,
Integer line) |
void |
eof() |
void |
examples(String keyword,
String name,
String description,
Integer line) |
void |
feature(String keyword,
String name,
String description,
Integer line) |
I18n |
getI18nLanguage() |
void |
parse(String gherkin,
String featureURI,
Integer lineOffset) |
void |
row(List<String> cells,
Integer line) |
void |
scenario(String keyword,
String name,
String description,
Integer line) |
void |
scenarioOutline(String keyword,
String name,
String description,
Integer line) |
void |
step(String keyword,
String name,
Integer line) |
void |
tag(String tag,
Integer line) |
public Parser(Formatter formatter)
public Parser(Formatter formatter, boolean throwOnError)
public Parser(Formatter formatter, boolean throwOnError, String machineName, boolean forceRubyDummy)
public void parse(String gherkin, String featureURI, Integer lineOffset)
featureURI
- the URI where the gherkin originated from. Typically a file path.lineOffset
- the line offset within the uri document the gherkin was taken from. Typically 0.public I18n getI18nLanguage()
public void background(String keyword, String name, String description, Integer line)
background
in interface Listener
public void scenarioOutline(String keyword, String name, String description, Integer line)
scenarioOutline
in interface Listener
Copyright © 2018. All rights reserved.