Import of the test results. Basic information
Having in mind that all the popular testing frameworks store the tests results in text log files, Allure TestOps makes import of these text files to build nice reports.
If you want to understand the import mechanics deeper, please refer to this section , otherwise, keep reading.
Ways to import your test results
There are three ways to import the test results:
- Manual import
- Semi-automated way on the development stage
- Import tests results from CI systems’ build jobs
You can manually import the results of your test run into Allure TestOps using its web-interface.
Manual import has some limitations, e.g. by doing manual import of the test results you cannot provide any additional information about your test run such as:
- Executor (for example the name of CI system).
- Information about the environment of the test run.
Detailed information on the manual import of the test results is described in this chapter.
Semi-automated import of the tests results
This way of import is possible during the automation of manual tests or creation of automated tests if you are using IntelliJ IDEA and you have IntelliJ IDEA Allure TestOps Support plug-in installed.
Briefly, Allure TestOps’ support plug-in for IntelliJ IDEA allows you doing the following:
- Export your IntelliJ IDEA’s local test results to linked Allure TestOps server.
- Link a test case in Allure TestOps and test in your IntelliJ IDEA code by @AllureId annotation.
- Perform the automation of manual test cases in Allure TestOps.
Import from CI systems
Automated import of test results is supported via integration with CI systems by using a) Allure TestOps plug-ins for certain CI systems or b) by using Allure TestOps command line interface binaries for the systems which don’t allow the usage of plug-ins.
Import of test results using Allure TestOps plug-ins
At the moment following CI systems can be natively integrated with Allure TestOps via plug-ins:
- Bamboo - Follow this link for details.
- Jenkins - Follow this link for details.
- TeamCity - Follow this link for details.
Import of test results using Allure TestOps CLI
- Gitlab - Follow this link for details.
Import of test results using Allure TestOps command line interface
For those, who did not join the beautiful world of native plug-in integration we developed Allure TestOps CLI which is extensively described here.
Test results upload policies
Test result upload policy allows you to choose the source of the metadata to present it in a test case - that could be either test case or the uploaded test results from a test launch. Here you will find detailed information about upload policies