Import of the test results from Gitlab CI
- You’ve added a project to Allure TestOps
- You’ve assigned WRITE access rights to a user which will import the test results to this project.
- You’ve configured a build job
You need to run the configured job to import test results.
Import test results
Start your build job from Gitlab and jump to Allure TestOps project’s Launches section.
If you followed the instructions carefully, you will see the following in the Launches section of your Allure TestOps project:
After the build job has finished, you might want to review the tests, if everything is all right, then you can close the launch and Allure TestOps will create the documentation for your automated tests based on the test results.
Closing the launch:
Now, jump to Test cases section of your project and check the test cases which Allure created based on your results.
As you can see, there is no information about the environments on which our tests run.
But Allure TestOps is capable of gathering this information from the CI server. Moreover Allure TestOps can request the usage of a specific requirement, which we will see later on.