Class SHAFT.TestData.YAML
java.lang.Object
com.shaft.tools.io.YAMLFileManager
com.shaft.driver.SHAFT.TestData.YAML
- Enclosing class:
SHAFT.TestData
Reads test data from YAML files.
-
Field Summary
Fields inherited from class YAMLFileManager
KEY_CONTAINS_LIST_REGEX, KEY_SEPARATOR_REGEX, NUMBER_IN_SQUARE_BRACKETS_REGEX, SQUARE_BRACKETS_REGEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic YAMLFileManagergetInstance(String yamlFilePath) Factory method for creating a YAML test-data reader.Methods inherited from class YAMLFileManager
get, get, getAs, getBoolean, getDate, getDouble, getInteger, getListAs, getLong, getMapAs, getString, getTestData
-
Constructor Details
-
YAML
Creates a new instance of the test data Excel reader using the target Excel file path- Parameters:
yamlFilePath- target test data yaml file path
-
-
Method Details
-
getInstance
Factory method for creating a YAML test-data reader.- Parameters:
yamlFilePath- target test data YAML file path- Returns:
- a new
YAMLFileManagerinstance
-