接口 TestDataClient

    • 方法详细资料

      • getTestData

        Object[][] getTestData​(Class<?> cls,
                               Method method)
        get test data for each test case
      • getCommonData

        String getCommonData​(String dataName)
        Get common data value by data name
      • getSecuredCommonData

        String getSecuredCommonData​(String dataName)
        Get secured common data value by data name, return decrypted text
      • close

        void close()
        Close the external data file if need
      • getModuleDataPath

        Path getModuleDataPath()
        Get module data directory path
      • getModuleEnvDataPath

        Path getModuleEnvDataPath()
        Get module and environment data directory path
      • findTemplate

        Optional<Path> findTemplate​(String templateFileName)
        Firstly try to find a template file in module and environment data folder
        Secondly try to find a template file in module data folder
        参数:
        templateFileName -
        返回:
      • findFile

        Optional<Path> findFile​(String fileName)
        Firstly try to find a file in module and environment data folder
        Secondly try to find a file in module data folder
        参数:
        fileName -
        返回: