Class TestRailExecutor
- java.lang.Object
-
- org.alfresco.utility.testrail.core.TestRailExecutor
-
public class TestRailExecutor extends java.lang.ObjectIs the author that will perform actions usingTestRailAPI
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description TestRailExecutor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectaddResultsForCases(java.util.List<TestCaseDetail> currentTestCases)static voidaddSections(java.util.List<Section> sections)static booleanexistsInAllSection(Section section)static java.util.List<Section>getAllSection()static java.util.List<TestCase>getAllTestCases()booleanisEnabled()voidprepareCurrentSuiteRun()read all sections createdTestCaseDetailuploadTestCase(org.testng.ITestResult currentTest)
-
-
-
Method Detail
-
getAllSection
public static java.util.List<Section> getAllSection()
-
existsInAllSection
public static boolean existsInAllSection(Section section)
-
addSections
public static void addSections(java.util.List<Section> sections)
-
getAllTestCases
public static java.util.List<TestCase> getAllTestCases()
-
isEnabled
public boolean isEnabled()
- Returns:
- boolean value if TestRail integration is enabled or not (i.e. testManagement.enabled=true)
-
uploadTestCase
public TestCaseDetail uploadTestCase(org.testng.ITestResult currentTest)
-
prepareCurrentSuiteRun
public void prepareCurrentSuiteRun()
read all sections created
-
addResultsForCases
public java.lang.Object addResultsForCases(java.util.List<TestCaseDetail> currentTestCases) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-