Class TestRailExecutor


  • public class TestRailExecutor
    extends java.lang.Object
    Is the author that will perform actions using TestRailAPI
    • Field Detail

      • LOG

        public static org.slf4j.Logger LOG
    • Constructor Detail

      • TestRailExecutor

        public TestRailExecutor()
    • 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