Import of the test results from TeamCity 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 integrated Allure TestOps and TeamCity CI server.
- 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 TeamCity 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:
Please remember - Allure TestOps won’t start the processing of the test results until you explicitly close the launch either manually or automatically in the project settings!
After the build job finished, you might want to review the tests’ results to understand whether everything is all right, then you can close the launch and Allure TestOps will create the live documentation for your automated tests based on the test results and send the tests results to the analytics.
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.