Integrate TestRail with GitHub
Integrating TestRail and GitHub allows you to link test results to GitHub tickets. You can report, create, and push new defect tickets from TestRail while executing a test case. Within TestRail, you can also preview information in the corresponding ticket in GitHub.
To integrate TestRail with GitHub, follow the steps below:
Before you begin
To integrate TestRail and GitHub, you need access to a TestRail account. If you do not have a TestRail account, request help in #vfs-platform-support. For more information about requesting support, see Get help from the Platform in Slack.
Integrating TestRail with GitHub
Go to your GitHub fine-grained personal access tokens.
Select Generate new token to create a new access token for personal TestRail integration.
Add a meaningful token name.
Adjust the expiration of the token as desired
Adjust the resource owner to department-of-veteran-affairs
Under repository access, choose the Only select repositories radio option and select department-of-veteran-affairs/va.gov-team from the dropdown
Click the Repository permissions area to expand it and scroll down to issues
Click the Access: No access dropdown and select read and write
Click Generate token
Select the copy button next to your token to store it on your clipboard.
Go to the TestRail My Settings page.
Select the Settings tab at top of page.
Enter your GitHub username into the GitHub User input box.
Enter the GitHub token stored on your clipboard into the GitHub Password input box.
Select the Save Settings button.
Help and feedback
Get help from the Platform Support Team in Slack.
Submit a feature idea to the Platform.