Class TestRailExecutor

java.lang.Object
org.alfresco.utility.testrail.core.TestRailExecutor

public class TestRailExecutor extends Object
Is the author that will perform actions using TestRailAPI
  • Field Details

    • LOG

      public static org.slf4j.Logger LOG
  • Constructor Details

    • TestRailExecutor

      public TestRailExecutor()
  • Method Details

    • getAllSection

      public static List<Section> getAllSection()
    • existsInAllSection

      public static boolean existsInAllSection(Section section)
    • addSections

      public static void addSections(List<Section> sections)
    • getAllTestCases

      public static 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 Object addResultsForCases(List<TestCaseDetail> currentTestCases) throws Exception
      Throws:
      Exception