TestQuality GitHub Defect Sync
Often when a test fails the resulting action is to open a related defect in your Defect Tracking system. This guide focuses on creating issues in GitHub from failed tests.
Step 1. GitHub Integration
If you didn’t start TestQuality from GitHub marketplace you have to add the GitHub Integration and map a repository to a TestQuality project.
To setup github
- In the upper right corner, click “” gear button then select “Administration”.
- Click “Integration” in left navigation.
- Click on GitHub.
- Look for your GitHub repository in the Remote Project column for integration projects. If it is there, select the related project in the “Select Project” drop down in upper left corner.
- Click on project to map to GitHub repository.
- Enter your GitHub repository. (This should be in the format of User/repository, as it is displayed in your GitHub repositories list.)
This will take you through an authentication step with GitHub, after which you will be setup and ready to use live sync.
Step 2. Create GitHub issue
For any test case run a related GitHub issue can be created or linked.
- Go to the test plan page, navigation available in project home page (choose GitHub mapped project).
- In Test Case Run detail view (or click on test case run in test case run list), click status dropdown “Pending” and select “Failed”.
- Click on ” Add Defect”.
- Link or Create dialog opens. Click “Create”.
- Click and set Priority ex “High”.
Now defect will be listed in defect list.
Step 3. Open issue in GitHub
Often it helps to see issue in GitHub.
- Go to the test plan page, (navigation is available in project home page) choose GitHub mapped project.
- Look for defect in Test Case Run detail view (or click on test case run in test case run list).
- Click on defect.
- Click on Open in GitHub.
This opens related issue in GitHub, you can make changes in GitHub and see changes reflected in TestQuality and vice versa.