Share this page

# Automated testing

The following flow describes how to collect automated test run results using CI server pipelines and include them in the overall analysis of your product.

In this topic:

## Overview

Automated tests, as well as load and performance tests, are managed in external testing tools. You can set up a CI server to run those automated tests, and then set up OpenText Software Delivery Management to collect their results. This enables you to see a comprehensive picture of your application's quality and coverage.

This topic describes working with a Jenkins CI server, but you can create a similar set up with other CI servers as well.

Common flow:

- Set up your automated tool to run tests.
- Configure your CI server to trigger the runs, publishing the results to the CI server.
- Integrate with your CI server using the relevant plugin.
- Set up and run pipelines that run the tests.
- The plugin collects the results and sends them to OpenText Software Delivery Management.

Note: If you are working with OpenText Functional Testing tests, you can set up a straightforward integration with OpenText Functional Testing without using pipelines. For details, see Set up OpenText Functional Testing integration.

Back to top

## Prepare a testing tool environment

Prepare a machine with your testing tool installed, which can access and run automated tests.

Back to top

## Set up Jenkins to trigger test runs

Although the tests are run using the CI server, you do not need to configure a full CI system. To run automated tests on Jenkins and send the run results to OpenText Software Delivery Management, only the steps below are required.

For other automated testing tools, set up whatever those tools require on Jenkins. Make sure that the job running your tests publishes the test run results to Jenkins.

To set up Jenkins for automated tests:

1. Install the Jenkins server.

2. Install the Application Automation Tools plugin.

   This plugin lets you:

   - Run Jenkins jobs specifically designed to run automation tests, such as OpenText Functional Testing or OpenText Enterprise Performance Engineering tests.

   - Prepare the test run results.

   - Send the results to OpenText Software Delivery Management, enabling you to view the results as part of your overall quality analysis.

   For details on downloading, installing, and configuring this plugin, see the Application Automation Tools wiki page.

   Note: To support OpenText Enterprise Performance Engineering tests, use version 5.2 or later or the plugin.

3. For OpenText Functional Testing tests running in your pipeline:

   - Configure Jenkins to locate your tests. If the tests are stored in OpenText Application Quality Management, provide the OpenText Application Quality Management location. If they are in an SCM repository, check them out to the Jenkins workspace on your OpenText Functional Testing machine.

   - Define the OpenText Functional Testing machine as an execution node on Jenkins. For details, see the section on execution nodes in the Application Automation Tools wiki page.

Back to top

## Set up a Jenkins job to run tests

Create a Jenkins project to run automated tests and publish the results.

Tests | Description
--- | ---
OpenText Core Performance Engineering | Set up Jenkins to run your tests as described in the OpenText Core Performance Engineering Help Center. Add a post-build action to Publish JUnit test result report.
OpenText Functional Testing and OpenText Enterprise Performance Engineering | Build a free-style software project and add build steps that run the tests. Add the relevant post-build action to publish the test results. This ensures that the results are sent in a recognized format. For the Report archive mode, select to always archive the test reports. For details, see the Application Automation Tools wiki page. Additional setup requirements: OpenText Functional Testing: Limit the project to run on the machine that you defined as the execution node. OpenText Enterprise Performance Engineering: Configure the connection to the OpenText Enterprise Performance Engineering machine.

Back to top

## Create a pipeline with Jenkins jobs

To send automated test run results to OpenText Software Delivery Management, the Jenkins jobs that runs the tests must be included in a pipeline run.

Create a pipeline using one of the following options.

Create pipeline from | Details
--- | ---
OpenText Software Delivery Management | See Create and configure pipelines.
Jenkins | See Create and configure OpenText Software Delivery Management pipelines on Jenkins.

Back to top

## Run the pipeline

When a pipeline runs, the results are sent to OpenText Software Delivery Management.

You can run a pipeline in one of the following ways.

Run pipeline from | Description
--- | ---
OpenText Software Delivery Management | In the Pipelines module, select the pipeline and click the Run Pipeline button.
Jenkins | Manually launch the build project you created. Schedule the build project to run at a predetermined time.

After the pipeline and test runs are finished, the plugin sends the test results.

Automated test and test run entities are created based on the test results received. If a relevant automated test already exists, the results are associated with that test. For details, see Create automated tests.

Back to top

## Connect results

Assigning automated tests to application modules and backlog items lets you view the test results in context. You can then use these results to analyze the progress and quality of your release and product.

Assigning owners to automated tests helps accelerate problem resolution. You can configure a pipeline to notify test owners when their test runs fail.

For details, see Assign tests to application modules and backlog items.

Back to top

## Analyze test results

The test run results are available in pipeline runs and in automated test runs.

To analyze test results:

1. Open a specific test run for detailed results. To open the detailed report provided by the testing tool, click the Testing tool report button in the test run, when applicable.

   Note: OpenText Enterprise Performance Engineering provides detailed reports only for tests that pass successfully.

2. View the pipeline run results in the Pipelines module. For details, see Run pipelines.

3. If you assigned your tests to backlog items and application modules, you can view the results in your release and product tracking dashboard widgets.

Back to top

See also:

- Set up CI/CD integration
- Test assignment rules
- Create and configure pipelines
- Run pipelines
- Add automated tests

https://admhelp.microfocus.com Software Delivery Management 8942
Tips to improve your search results... OpenText™ Software Delivery Management Help Center OpenText™ Software Delivery Management Help 26.1 All View Local Help Center View Online Help Center Version: