This topic explains how to integrate TestRail with SourceGear Vault/Fortress. There are currently two ways to integrate TestRail with Vault, namely:
- Using defect URLs to link test results to Vault
- Using reference URLs to link test cases to Vault
Defect URLs
The defect URLs are used to let TestRail know how to access your Vault instance. Once the URLs have been configured, a new Add link appears next to the Defects field in the Add Test Result dialog. This link allows you to jump to Vault’s New Issue form to report a new bug. Additionally, entered issue IDs are linked to your Vault instance to make it easier to track the status of your issues.
To configure Vault’s URLs in TestRail, select Administration > Integration. You can alternatively enter separate bug tracker URLs for each project under Administration > Projects.
Use the following example URLs to configure the addresses:
Vault/Fortress installation
Defect View Url: http://server/Vault/ShowItem.aspx?pid=<projectid>&itemid=%id%
Defect Add Url: http://server/Vault/AddItem.aspx?pid=<projectid>
Reference URLs
The reference URLs are used to link test cases to issues stored in Vault via the References field. Once the URLs have been configured, issue IDs entered in the References field are linked to your Vault instance to make it easier to jump to related issues, feature specifications or requirements.
To configure Vault’s URLs for the References field, select Administration > Integration. You can alternatively enter separate reference URLs for each project under Administration > Projects.
Use the following example URLs to integrate TestRail with Vault:
Vault/Fortress installation
Reference View Url: http://server/Vault/ShowItem.aspx?pid=<projectid>&itemid=%id%
Reference Add Url: http://server/Vault/AddItem.aspx?pid=<projectid>