Class SHAFT.TestData.JSON

java.lang.Object
com.shaft.tools.io.JSONFileManager
com.shaft.driver.SHAFT.TestData.JSON
Enclosing class:
SHAFT.TestData

public static class SHAFT.TestData.JSON extends JSONFileManager
Reads test data from JSON files.
  • Constructor Details

    • JSON

      public JSON(String jsonFilePath)
      Creates a new instance of the test data json reader using the target json file path
      Parameters:
      jsonFilePath - target test data json file path
  • Method Details

    • getInstance

      public static JSONFileManager getInstance(String jsonFilePath)
      Factory method for creating a JSON test-data reader.
      Parameters:
      jsonFilePath - target test data JSON file path
      Returns:
      a new JSONFileManager instance