You can publish existing test suite result reports in IBM® DevOps Test Integrations and APIs (Test Integrations and APIs) that are not yet published to
IBM DevOps Test Hub (Test Hub) without running the tests
again. You can publish the test result reports to Test Hub so that others can view it from
the web browser.
You must have completed the following tasks:
- 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.
- Configured Test Integrations and APIs to
publish test reports to Test Hub.
You can publish a specific test suite result report or publish several test suite
result reports from Test Integrations and APIs to
the selected project on Test Hub. You can change the name of the result report or add labels to the reports before
publishing them. You can also know if the reports are already published and choose
to republish those reports.
-
Choose from the following options and complete the task:
- To publish a specific test suite result report, go to Step 2.
- To publish several test suite result reports, go to Step 6.
Publish a specific test suite result report
-
Open the Results Gallery in Test Integrations and APIs, and select the
test result instance from the list in the Instance field
for the selected test suite.
-
Click the Publish to DevOps
Test Hub icon.
The Publish to DevOps
Test Hub window is displayed.
-
Optionally, if you want to edit the result name or to add a label to the
report, complete the following steps:
-
Select the report row you want to edit.
-
Specify a name for the result in the Result Name
cell.
-
Specify tag names or comments to associate with the results in the
Labels cell.
Notes:
- You can also add a label to the selected report by using the
Add Labels icon .
- If the report instance you selected to publish already
exists as a published report in the selected project, a
warning icon is displayed against the report. Selecting this
instance republishes the report.
-
Click Publish.
The selected test result report is published to the selected project on Test Hub.
Publish several test suite result reports
-
Click in Test Integrations and APIs.
The Select Suite Runs window is displayed.
-
Select one or more test suites in the Selected Suites
panel.
-
Select the test result report instances for any the following options:
-
Click OK.
The result reports that are available for the selected option are
displayed.
-
Optionally, if you want to edit the result name or to add a label to the
report, complete the following steps:
-
Select the report row that you want to edit.
-
Specify a name for the result in the Result Name
cell.
-
Specify tag names or comments to associate with the result in the
Labels cell.
Notes:
- You can also add a label to the selected report by using the
Add Labels icon .
- If the report instance you selected to publish already
exists as a published report in the selected project, a
warning icon is displayed against the report. Selecting this
instance republishes the report.
-
Optionally, select and delete the published report instances that you do not
want to republish by completing the following steps:
-
Select the report instance individually or select all the existing
published reports by clicking the icon.
-
Click the Delete icon .
-
Click Publish.
The selected existing test result reports are published to the configured project on
Test Hub from Test Integrations and APIs.
You can view the test result reports published to Test Hub.
See Viewing reports published to DevOps Test Hub.