Skip to main content

Test IT TMS importers

Test IT

Release Status Downloads GitHub contributors

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

  1. go to the https://{DOMAIN}/user-profile profile
  2. copy the API secret key

projectid - id of project in TMS instance

  1. create a project
  2. open DevTools -> network
  3. go to the project https://{DOMAIN}/projects/{PROJECT_GLOBAL_ID}/tests
  4. GET-request project, Preview tab, copy id field

configurationid - id of configuration in TMS instance

  1. create a project
  2. open DevTools -> network
  3. go to the project https://{DOMAIN}/projects/{PROJECT_GLOBAL_ID}/tests
  4. 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.

By default Allure labels are imported as tags and labels in name::value form. Use --simplifiedtags / -st to import both as label values only (without the name:: prefix).

You can attach test run tags and links (e.g. CI job URL) so they are visible in TMS while the run is still in progress.

Source Tags Links
CLI --testruntags / -trt --testrunlinks / -trl
Env TMS_TEST_RUN_TAGS TMS_TEST_RUN_LINKS
connection_config.ini [testit] testRunTags testRunLinks

Priority: env > CLI > ini. Empty / omitted values mean "do not change".

Tags — comma-separated or JSON array:

smoke,nightly
["smoke", "nightly"]

Links — JSON array (url required; title, description, type optional):

[
  {
    "url": "https://gitlab.example.com/group/project/-/jobs/12345",
    "title": "CI Job",
    "type": "Related"
  }
]

Supported link types: Related, BlockedBy, Defect, Issue, Requirement, Repository.

Behaviour:

  • New test run (--testrunname / default): tags and links are sent in the create request.
  • Existing test run (--testrunid): tags and links are merged at the start of import (existing items are kept; duplicates by tag name / link URL are skipped).

Example (CI job URL + tags):

testit --resultsdir allure-results \
  --testruntags smoke,nightly \
  --testrunlinks "[{\"url\":\"$CI_JOB_URL\",\"title\":\"CI Job\",\"type\":\"Related\"}]"

Or via env:

export TMS_TEST_RUN_TAGS=smoke,nightly
export TMS_TEST_RUN_LINKS='[{"url":"https://gitlab.example.com/.../jobs/12345","title":"CI Job","type":"Related"}]'
testit --resultsdir allure-results

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.

Metadata

Release files for testit-importer-allure 1.18.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for testit-importer-allure 1.18.2
File Size Uploaded Provenance Actions
testit_importer_allure-1.18.2.tar.gz 154.6 kB Without provenance Details for testit_importer_allure-1.18.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for testit-importer-allure 1.18.2
File Interpreter ABI Platform Actions
testit_importer_allure-1.18.2-py3-none-any.whl Python 3 none any Details for testit_importer_allure-1.18.2-py3-none-any.whl

Total release size: 744.5 kB

Release files / testit_importer_allure-1.18.2.tar.gz

Download URL testit_importer_allure-1.18.2.tar.gz
Size 154.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7dd08f3d13e71a016fc82b8e8b64219ee1f94c778f3e51610fb0d295e5f50a7f
BLAKE2b-256 checksum
How to use checksums
3703beb9b49df9222801d230400be7428f6c9f95576c22a4e7d7dd9011e12ab7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / testit_importer_allure-1.18.2-py3-none-any.whl

Download URL testit_importer_allure-1.18.2-py3-none-any.whl
Size 589.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b397ae10ce4ed660a79c7904169da49e9f83d4d76f3a882411d6e5c5b85c3c6
BLAKE2b-256 checksum
How to use checksums
4aea1d14cf6c851324683d1d8062a5ed88d8b341dc28055bb088a42e252ac822
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for testit-importer-allure 1.18.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.18.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page