Package de.qytera.qtaf.xray.importer
Class XrayImporter
java.lang.Object
de.qytera.qtaf.xray.importer.XrayImporter
Class that imports Test definitions from Xray API and saves them locally
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringaddFeatureDefinition(String featureName, String testDefinition) static StringaddGroupTagToFeatureDefinition(String featureName, String featureDefinition) static StringaddScenarioDefinition(String scenarioName, String testDefinition) static Stringstatic Stringstatic voidcreateFeatureFileFromSingleTest(XrayTestDto testDto, String filePath) static voidcreateFeatureFileFromTestSet(String testSetId, XrayTestDtoCollection collection, String filePath) static Stringstatic StringgetFeatureFileContentFromTestSet(String testSetId, XrayTestDtoCollection testDtoCollection, boolean newDriver) static voidimportTestAsFeature(String testId, String featureFilePath) static voidimportTestSetAsFeature(String testSetId, String featureFilePath)
-
Constructor Details
-
XrayImporter
public XrayImporter()
-
-
Method Details
-
importTestAsFeature
- Throws:
IOException
-
importTestSetAsFeature
public static void importTestSetAsFeature(String testSetId, String featureFilePath) throws IOException - Throws:
IOException
-
createFeatureFileFromSingleTest
public static void createFeatureFileFromSingleTest(XrayTestDto testDto, String filePath) throws IOException - Throws:
IOException
-
createFeatureFileFromTestSet
public static void createFeatureFileFromTestSet(String testSetId, XrayTestDtoCollection collection, String filePath) throws IOException - Throws:
IOException
-
getFeatureFileContentFromTestSet
public static String getFeatureFileContentFromTestSet(String testSetId, XrayTestDtoCollection testDtoCollection, boolean newDriver) -
getFeatureFileContentFromSingleTest
-
addScenarioDefinition
-
addFeatureDefinition
-
addTag
-
addTag
-
addGroupTagToFeatureDefinition
-