GitLab
What is GitLab?
GitLab is a DevOps software package that combines the ability to develop, secure, and operate software in a single application.
Why use GitLab integration?
With the GitLab app, you can:
Link Qase test cases to GitLab issues
Create a new issue in GitLab when you file a defect during a test run in Qase
Link Qase test runs to GitLab issues
Execute automated runs in GitLab from a Qase test run
How to install GitLab?
Note: Before you proceed with the installation, please have your GitLab URL and the Authorization token ready.
Click "Apps" in your Qase workspace:
Click GitLab card, then hit "Install now"
Fill in the URL of your GitLab page
Fill in the Authorization Token
Click “Install”
The app has been successfully installed
Usage
Linking from Qase to GitLab:
1. To link a GitLab to a Qase test case from Qase:
Select a case in the repository and switch to properties in the sidebar
Click "Link GitLab app issues"
Insert GitLab issue title into the field and hit "Link"
Now the issue is linked:
2. To unlink the GitLab issue, click "x" next to the card title:
3. Link Qase test runs to GitLab issues:
Navigate to the test runs page
Click on the run
In the run's main page, locate the side-bar to the right
Scroll down and under "External Issue" click on "Select an Integration"
Select "GitLab app"
Search for the issue's title and click on "Link"
Create GitLab issue while creating a defect in Qase
In the test run, mark your case as failed, blocked, or Invalid and proceed with creating a defect.
In the defect creation form, under “Choose Integrations” select "GitLab App" and click "Add defect"
Fill in the required fields then hit "Create"
In the Qase defect you will now have a connected GitLab issue link:
CI/CD Workflows
How to install?
First of all, you need to check a project inside your GitLab and open the "Preferences" page:
Go to the "Access tokens" menu:
Create a new token and select a scope "api" and click on the "Create personal access token":
Copy created token to the clipboard.
Open Qase Apps menu, find the Gitlab integration and install it. You will see a form. Fill in necessary fields with data:
Click the "Install" button. After a few seconds, you will be redirected to the "Apps" page and see that the "Gitlab" integration has been successfully installed.
How to use it?
Create the automated test run:
Select the Gitlab option in the CI/CD System field:
Fill in all necessary fields and click the Start a run button:
Last updated