Turn your manual testers into automation experts! Request a DemoStart testRigor Free

GitLab CI with testRigor

testRigor has native integrations with the most popular test management tools, CI/CD systems, and code repositories. This means that there is no more dependency on external plugins or writing heavy custom code for communicating with other applications.

To help you get started quickly, we will show you how to connect testRigor to a GitLab repository in just a few easy steps.

Integrating testRigor with GitLab Repository

As we can see, on today’s date, every growing company has implemented Continuous Integration and Continuous Development. Whenever any kind of code gets merged into the GitLab code branch, the automation tests need to be triggered and run to make sure there is no failure with the latest code changes. This continuous integration pipeline is straightforward to build in testRigor.

Prerequisite

  • You need to have a testRigor account. Also, you need to create a test suite with test cases for execution. If you are new to testRigor and want to learn about creating test scripts for different scenarios, these How-to Articles will help you.
  • You need to have a GitLab account with a valid repository.

Steps for testRigor GitLab CI Integration

Step 1: Open the Test Suite in testRigor. On the left side menu, click the CI/CD Integration link. The CI/CD integration page is populated with pre-defined scripts.

The above test script consists of multiple parts. The first part executes the tests in the test suite. The command contains the test suite authentication token unique to every test suite. Once that command is executed, the test suite will wait for 10 seconds, and then the loop will continue to execute. The script will check the results of the retest. Once the retest is complete, the script will exit.

Step 2: In the GitLab project repository, look for the file “.gitlab-ci.yml” at the root level. If the file doesn’t exist, you can create a new file and ensure the name matches what’s mentioned here. If the file exists, you can edit it.

So, to integrate with testRigor, we need to paste the testRigor script into the test section of the YAML file.

Currently, we are configured to check for any pull request merges in the “Main” branch. If you need to change the branch name, you can mention the branch name under the “Only” option in the yaml file.

Step 3: Once the script is updated, click Commit Changes, which will reflect the changes in the file.

Step 4: To check the integration, let’s create a sample branch and a file. Let’s create a sample Python file named add.py.

Step 5: Commit the file and then create a Merge request.

Step 6: Once you merge the pull request, you can see in GitLab that the pipeline has started execution.

Step 7: You can check the same in testRigor. You can see that the test has triggered and that execution has started.

Step 8: Click on the pipeline ID to see the console output of the testRigor execution.

That’s all you need to integrate testRigor with GitLab for continuous integration. As you can imagine, this whole procedure is quick, easy, and hassle-free.

testRigor’s Capabilities

Apart from the simplistic test case design and execution, testRigor’s advanced features help you test your application using simple English commands. testRigor enables you to test native desktop, web, mobile, API, visual, exploratory, AI features, accessibility testing with minimum effort, time, and maintenance, single-handedly.

  • Reusable Rules (Subroutines): You can easily create functions for the test steps that you use repeatedly. You can use the Reusable Rules to create such functions and call them in test cases by simply writing their names. See the example of Reusable Rules.
  • Global Variables and Data Sets: You can import data from external files or create your own global variables and data sets in testRigor to use them in data-driven testing.
  • 2FA, QR Code, and Captcha Resolution: testRigor efficiently manages the 2FA, QR Code, and Captcha resolution through its simple English commands.
  • Email, Phone Call, and SMS Testing: Use simple English commands to test the email, phone calls, and SMS. These commands help validate 2FA scenarios, with OTPs and authentication codes being sent via email, phone calls, or via phone text.
  • File Upload/ Download Testing: Execute the test steps involving file download or file upload without the requirement of any third-party software. You can also validate the contents of the files using testRigor’s simple English commands.
  • Database Testing: Execute database queries and validate the results fetched.
  • Test the Untestable: Use testRigor’s other AI-based features that help test the untestable like graphs, images, chatbots, LLMs, Flutter apps, mainframes, form filling, and many more.

Read: All-Inclusive Guide to Test Case Creation in testRigor.

You're 15 Minutes Away From Automated Test Maintenance and Fewer Bugs in Production
Simply fill out your information and create your first test suite in seconds, with AI to help you do it easily and quickly.
Achieve More Than 90% Test Automation
Step by Step Walkthroughs and Help
14 Day Free Trial, Cancel Anytime
“We spent so much time on maintenance when using Selenium, and we spend nearly zero time with maintenance using testRigor.”
Keith Powe VP Of Engineering - IDT
Related Articles

What Is CI/CD?

What Is CI? CI stands for “continuous integration” and is typically a part of the CI/CD pipeline. Continuous integration is ...

Top 7 CI/CD Tools to Explore in 2025

Continuous Integration and Continuous Delivery/Deployment (CI/CD) is one of the core foundations of modern software development. ...

CI/CD Series: testRigor and Azure DevOps

TestRigor manages different types of CI/CD tools in order to enhance with AI your workflows and pipelines. This time, we’ll ...
Privacy Overview
This site utilizes cookies to enhance your browsing experience. Among these, essential cookies are stored on your browser as they are necessary for ...
Read more
Strictly Necessary CookiesAlways Enabled
Essential cookies are crucial for the proper functioning and security of the website.
Non-NecessaryEnabled
Cookies that are not essential for the website's functionality but are employed to gather additional data. You can choose to opt out by using this toggle switch. These cookies gather data for analytics and performance tracking purposes.