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 from the Testing Tools team 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 personal access tokens page.
Select Generate new token to create a new access token for personal TestRail integration.
Add a meaningful note for the token.
For the scope, select public_repo.
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.