Package 

Class XrayService

    • Method Detail

      • executeTestPlans

         final XrayPlanExecutionResult executeTestPlans(String namespace)

        Execution of one or several test plans. It will retrieve the right connector and then execute all tests belonging to targeted test plans using Xray links. Once tests are executed, results are send to Xray.

      • executeTests

         final XrayPlanExecutionResult executeTests(String namespace)

        Execution of only one test instead of an entire test plan. Test execution has to be linked to an existing test plan, so in this function, a dummy test plan is used. Execution data will not be saved in the database, there will be no history about it.

      • generateXrayTest

         final XrayTest generateXrayTest(DialogReport dialog, Function1<List<String>, String> testName, String linkedJira, List<String> testsPlans, Map<String, String> labelTestPlansMap)

        Generate an Xray test.

        Parameters:
        dialog - the dialog used to build the test
        testName - the optional test name generator - labels of linkedJira are passed as parameter.
        linkedJira - the optional User Story ticket related to the test
        testsPlans - the tests plans to include for this test
        labelTestPlansMap - a map of label -> test plan key.