Publishing test results to DevOps Test Hub
The test result indicates the quality of the application under test. Different stakeholders to the application might want to check the quality of application but do not have HCL DevOps Test Integrations and APIs (Test Integrations and APIs) installed. You can publish the test result reports to HCL DevOps Test Hub (Test Hub) so that others can view it from a web browser.
Before you begin
- Installed Test Hub and configured a project.
- Logged in to Test Hub and copied the offline user token generated by using the Create Token option from the menu in the Test Hub Header. You must have copied the offline user token in the Test Integrations and APIs UI. For more information, see DevOps Test Hub Documentation.
About this task
You can configure the auto-publishing option for publishing test result reports to Test Hub by using the Project Settings menu option. When the auto-publishing option is activated, the test result report is automatically published to Test Hub whenever you run a test suite or test in Test Integrations and APIs.
Procedure
-
Click Server
Settings tab.
, and then click the
-
Use the fields under Results Database to
create or modify a database connection:
-
In the Control Panel
section, complete the following steps:
-
In the DevOps
Test Hub
section, complete the following steps:
-
Click OK.
You have configured Test Integrations and APIs to publish test result reports to the selected project on Test Hub.
-
To publish a test result report, open the Test
Lab perspective, and complete the
following steps:
- Select the test suite.
- Right-click and then click Run.
The selected test suite runs and the test result reports are published to the selected project on Test Hub.
Results
Test results are automatically published to the selected project on Test Hub whenever the tests are run in Test Integrations and APIs.
What to do next
You can view the test result reports published to Test Hub. See Viewing reports published to DevOps Test Hub.