Package com.shaft.listeners.internal
Class JiraHelper
java.lang.Object
com.shaft.listeners.internal.JiraHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
prepareTestResultAttributes
(org.testng.IInvokedMethod method, org.testng.ITestResult testResult) The method is to update testng-results.xml with the required data to integrate with xray plugin The Method uses Epic, Feature, Story and Test allure annotations' values.static void
reportBugsToJIRA
(List<String> attachments, String logText, org.testng.ITestResult iTestResult, org.testng.ITestNGMethod iTestNGMethod) is called in afterInvocation() to report bugs in case of failure and if the integration is enabledstatic void
-
Constructor Details
-
JiraHelper
public JiraHelper()
-
-
Method Details
-
reportExecutionStatusToJira
public static void reportExecutionStatusToJira() -
prepareTestResultAttributes
public static void prepareTestResultAttributes(org.testng.IInvokedMethod method, org.testng.ITestResult testResult) The method is to update testng-results.xml with the required data to integrate with xray plugin The Method uses Epic, Feature, Story and Test allure annotations' values.- See Also:
-
reportBugsToJIRA
public static void reportBugsToJIRA(List<String> attachments, String logText, org.testng.ITestResult iTestResult, org.testng.ITestNGMethod iTestNGMethod) is called in afterInvocation() to report bugs in case of failure and if the integration is enabled
-