Class XrayCucumberRepositoryServer
java.lang.Object
de.qytera.qtaf.xray.repository.xray.XrayCucumberRepositoryServer
- All Implemented Interfaces:
XrayCucumberRepository,XrayEndpoint
public class XrayCucumberRepositoryServer
extends Object
implements XrayCucumberRepository, XrayEndpoint
Export Tests from Xray Server as Cucumber Feature File.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFeatureFileDefinition(String[] testIDs) Get Tests as Cucumber Feature File.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.qytera.qtaf.xray.repository.xray.XrayEndpoint
getXrayAuthorizationHeaderValue, getXrayURL
-
Constructor Details
-
XrayCucumberRepositoryServer
public XrayCucumberRepositoryServer()
-
-
Method Details
-
getFeatureFileDefinition
public String getFeatureFileDefinition(String[] testIDs) throws URISyntaxException, MissingConfigurationValueException Description copied from interface:XrayCucumberRepositoryGet Tests as Cucumber Feature File.- Specified by:
getFeatureFileDefinitionin interfaceXrayCucumberRepository- Parameters:
testIDs- the test issue IDs whose feature files to retrieve- Returns:
- Contents of feature file
- Throws:
URISyntaxException- if the download URLs are invalidMissingConfigurationValueException- if the configuration is invalid
-