GitHub - TestQuality

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

  1. In the upper right corner, click “” gear button then select “Administration”.
  2. Click “Integration” in left navigation.
  3. Click on GitHub.
  4. 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.
  5. Click on project to map to GitHub repository.
  6. Enter your GitHub repository. (This should be in the format of User/repository, as it is displayed in your GitHub repositories list.)

Click Save.

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.

  1. Go to the test plan page, navigation available in project home page (choose GitHub mapped project).
  2. In Test Case Run detail view (or click on test case run in test case run list), click status dropdown “Pending” and select “Failed”.
  3. Click on ” Add Defect”.
  4. Link or Create dialog opens. Click “Create”.
  5. Click and set Priority ex “High”.

Click Create.

Now defect will be listed in defect list.

 

Step 3. Open issue in GitHub

Often it helps to see issue in GitHub.

  1. Go to the test plan page, (navigation is available in project home page) choose GitHub mapped project.
  2. Look for defect in Test Case Run detail view (or click on test case run in test case run list).
  3. Click on defect.
  4. 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.