public class GherkinFileParser extends AbstractScenarioFileParser
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BACKGROUND |
static java.lang.String |
EXAMPLES |
static java.lang.String |
FEATURE |
static java.lang.String |
SCENARIO_OUTELINE |
DESCRIPTION, END, SCENARIO, STEP_DEF, TEST_DATA| Constructor and Description |
|---|
GherkinFileParser() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Collection<java.lang.Object[]> |
parseFile(java.lang.String strFile)
This method expects file parser to parse file and return collection of
Object array of size 4.
|
protected void |
processStatements(java.lang.Object[][] statements,
java.lang.String reference,
java.util.List<Scenario> scenarios) |
include, include, parse, parseScenario, parseStepCall, parseStepDef, setExcludeGroups, setIncludeGroupspublic static final java.lang.String SCENARIO_OUTELINE
public static final java.lang.String EXAMPLES
public static final java.lang.String FEATURE
public static final java.lang.String BACKGROUND
protected void processStatements(java.lang.Object[][] statements,
java.lang.String reference,
java.util.List<Scenario> scenarios)
processStatements in class AbstractScenarioFileParserprotected java.util.Collection<java.lang.Object[]> parseFile(java.lang.String strFile)
AbstractScenarioFileParser["step-name-or-description-to-call", "inParams", "outParam", lineNo(optional)]
["SCENARIO", "SCENARIO-name", "meta-data", lineNo(optional)]
["STEP-DEF", "step-name-or-description", "meta-data", lineNo(optional)]
parseFile in class AbstractScenarioFileParserCopyright © 2000 Infostretch Corp.