Apps documentation
TestFLO - Test Management for Jira
TestFLO - Test Management for Jira
8.14.x
8.13.x
8.12.x
8.11.x
8.10.x
8.8.x
8.7.x
8.6.x
8.5.x
8.4.x
8.3.x
8.2.x
8.1.x
8.0.x
FAQ
Release notes
Last updated Oct 4, 2021

Run automated tests directly from the CI Server

Running tests as a part of the CI process

As an alternative to Run automated tests operation in Test Plan it is also possible to use automatic job execution, e.g. after changes in code repository are pushed. This approach however requires specifying default parameters in the plugin configuration and created Test Plan in Jira.

Jenkins

Steps

To run automated tests from Jenkins as a part of the CI process:

  1. Go to the Configure option in the configured job in Jenkins.
  2. In the configured parameters fill in the following values in Default Value:
    Example of completed parameters in Jenkins for run automated tests to TestFLO - Test Managemenet in Jira
    Example of completed parameters in Jenkins
    • testPlanKey - the key of the previously created Test Plan, on which Test Cases will be created based on tests from the selected job.
    • targetIteration - tells whether to add Test Cases to current iteration in Test Plan or to create new in Test Plan. You can use these options:
      • CURRENT_ITERATION
      • NEW_ITERATION
    • testCaseCreationStrategy - tells whether new Test Cases should be created with test results, or only limited to updating existing Test Cases in Test Plan. You can use these options:
      • CREATE_AND_UPDATE
      • UPDATE_EXISTING
  3. Click Save.
  4. Build a job with specified parameters.

Result

The Test Cases will be created in the Test Plan with the appropriate test names and statuses.

Note

Remember to refresh the Test Plan view to see Test Cases after you have finished running the tests on the CI Server.

Bamboo

Steps

To run automated tests from Bamboo as a part of the CI process:

  1. Go to the Configure plan option in the configured plan in Bamboo.
  2. Select the job in the Stages tab where the TestFLO - Test results publisher task was added.
  3. Select the task and fill the parameters with the following values:
    Example of completed parameters in Bamboo for run automated tests to TestFLO - Test Managemenet in Jira
    Example of completed parameters in Bamboo
    • testPlanKey - the key of the previously created Test Plan, on which Test Cases will be created based on tests from the selected job.
    • targetIteration - tells whether to add Test Cases to current iteration in Test Plan or to create new in Test Plan. You can use these options:
      • CURRENT_ITERATION
      • NEW_ITERATION
    • testCaseCreationStrategy - tells whether new Test Cases should be created with test results, or only limited to updating existing Test Cases in Test Plan. You can use these options:
      • CREATE_AND_UPDATE
      • UPDATE_EXISTING
  4. Click Save.
  5. Run plan with specified parameters.

Result

The Test Cases will be created in the Test Plan with the appropriate test names and statuses.

Note

Remember to refresh the Test Plan view to see Test Cases after you have finished running the tests on the CI Server.

Running tests directly from CI Server manually

Another alternative to Run automated tests operation in Test Plan you can run tests directly from CI Server manually. This operation will require you to create a Test Plan in Jira first and provide the required parameters in the selected job/build plan.

Jenkins

Steps

To run automated tests directly from Jenkins manually:

  1. Go to the configured job in Jenkins.
  2. Click the Build with Parameters option.
    Run automated tests directly from Jenkins manually to TestFLO - Test Managemnet in Jira
    Run automated tests directly from Jenkins manually
  3. Fill the parameters using the following options:
    • testPlanKey - the key of the created Test Plan, on which Test Cases will be created based on tests from the selected job.
    • targetIteration - tells whether to add Test Cases to current iteration in Test Plan or to create new in Test Plan. You can use these options:
      • CURRENT_ITERATION
      • NEW_ITERATION
    • testCaseCreationStrategy - tells whether new Test Cases should be created with test results, or only limited to updating existing Test Cases in Test Plan. You can use these options:
      • CREATE_AND_UPDATE
      • UPDATE_EXISTING
  4. Click Build to build a job with specified parameters.

Result

The Test Cases will be created in the Test Plan with the appropriate test names and statuses.

Note

Remember to refresh the Test Plan view to see Test Cases after you have finished running the tests on the CI Server.

Bamboo

Steps

To run automated tests directly from Bamboo manually:

  1. Go to the Configure plan option in the configured plan in Bamboo.
  2. Click the Variables tab.
    Run automated tests directly from Bamboo manually to TestFLO - Test Managemnet in Jira
    Run automated tests directly from Bamboo manually
  3. Add Variable name and fill Value using the following options:
    • testPlanKey - the key of the created Test Plan, on which Test Cases will be created based on tests from the selected job.
    • targetIteration - tells whether to add Test Cases to current iteration in Test Plan or to create new in Test Plan. You can use these options:
      • CURRENT_ITERATION
      • NEW_ITERATION
    • testCaseCreationStrategy - tells whether new Test Cases should be created with test results, or only limited to updating existing Test Cases in Test Plan. You can use these options:
      • CREATE_AND_UPDATE
      • UPDATE_EXISTING
  4. Click Run plan to build a plan with specified variables.

Result

The Test Cases will be created in the Test Plan with the appropriate test names and statuses.

Note

Remember to refresh the Test Plan view to see Test Cases after you have finished running the tests on the CI Server.