public class GherkinFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getExamples(String filename) |
static String |
getFeatureLanguage(String featureContent) |
static int |
getNumberOfGherkinExamples(String filename) |
static void |
injectDataInGherkinExamples(String filename,
Map<Integer,List<String[]>> examplesTable) |
public static void injectDataInGherkinExamples(String filename, Map<Integer,List<String[]>> examplesTable)
filename - name of input Gherkin file.examplesTable - is a table of data without headers. Various examples can be present in a single file.
In this case, the key of each entry if the Hashtable matches the position of the examples table in the Gherkin file.public static int getNumberOfGherkinExamples(String filename)
Copyright © 2023 NoraUi. All rights reserved.