Test IT TMS importers
Allure report
Getting Started
Installation
pip install testit-importer-allure
Usage
Configuration
Use the command testit --help
to view the configuration setup help:
testit --url <url>
testit --privatetoken <token>
testit --projectid <id>
testit --configurationid <id>
And fill parameters with your configuration, where:
url
- location of the TMS instance
privatetoken
- API secret key
- go to the https://{DOMAIN}/user-profile profile
- copy the API secret key
projectid
- id of project in TMS instance
- create a project
- open DevTools -> network
- go to the project https://{DOMAIN}/projects/{PROJECT_GLOBAL_ID}/tests
- GET-request project, Preview tab, copy id field
configurationid
- id of configuration in TMS instance
- create a project
- open DevTools -> network
- go to the project https://{DOMAIN}/projects/{PROJECT_GLOBAL_ID}/tests
- GET-request configurations, Preview tab, copy id field
Importing
Use the command testit --resultsdir allure-results --testrunname <name>
to specify the directory with Allure report results and create new test run with the specified name in TMS instance.
The --testrunname
parameter is optional. The default name of testrun is "AllureRun"
Or use the command testit --resultsdir allure-results --testrunid <id>
to specify the directory with Allure report results and id of test run in TMS instance.
Important: This command initiates the import.
Contributing
You can help to develop the project. Any contributions are greatly appreciated.
- If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
- Please make sure you check your spelling and grammar.
- Create individual PR for each suggestion.
- Please also read through the Code Of Conduct before posting your first idea as well.
License
Distributed under the Apache-2.0 License. See LICENSE for more information.