Links
A test case in Allure TestOps can contain links to arbitrary URLs. These links help users quickly navigate to resources where they can find more information related to the test case, such as the project’s internal documentation.
Another type of supported links is issue links.
Links in manual test cases
To add links in a manual test case:
- Go to the Test cases section of your project.
- Select a test case.
- In the top right corner of the page, click
⋮
and select Manage links. - In the dialog that appears, specify any number of links by adding rows to the table. In each row, provide both the text and the URL of a link.
- Click Submit.
Once the links are added, you can edit or remove them via the same dialog.
Links in automated test cases
The recommended way to assign links to automated test cases is to specify them directly in the test code. Depending on the programming language and test framework, this can be accomplished by calling specific methods or declaring metadata for the test method. For more details, refer to the documentation for the corresponding Allure adapter.
If you prefer to assign links via the web interface, go to the Upload policy section and set the “from_test_case” rule for the “link” field. This will allow you to add, remove, and edit links in the same way as for the manual test cases.