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.

Test run tags and links

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

testit_importer_allure-1.17.4.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

testit_importer_allure-1.17.4-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file testit_importer_allure-1.17.4.tar.gz.

File metadata

  • Download URL: testit_importer_allure-1.17.4.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for testit_importer_allure-1.17.4.tar.gz
Algorithm Hash digest
SHA256 9eeafe6adc2b89f2d7749fe7288461892975e0fa6fd4a394412cb46f35b023ec
MD5 de13be7827a80754d08540e75b7e1493
BLAKE2b-256 c8df68a8d17e58ae539211439ff4d57533cc6b0adaec2f15f6a904086040d450

See more details on using hashes here.

File details

Details for the file testit_importer_allure-1.17.4-py3-none-any.whl.

File metadata

File hashes

Hashes for testit_importer_allure-1.17.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bea19b223ca867ad4c66c31f6e743af3b17398f74664f02d4a0f1e4676522beb
MD5 a4852c5483fdd3fefc33c78cee3dade4
BLAKE2b-256 8cb1046809b2a3af0510262f037f091122bed76c0d1698e1b8295bed35a416b5

See more details on using hashes here.

Release history Release notifications | RSS feed

1.17.5

2 files

This release

1.17.4 This release

2 files

1.17.3.post580

2 files

1.17.3

2 files

1.17.2

2 files

1.17.1.post580

1 file

1.17.0.post580

1 file

1.16.3

1 file

1.16.2

1 file

1.16.1

1 file

1.16.0.post570

1 file

1.16.0

1 file

1.15.2

1 file

1.15.1

1 file

1.15.0.post560

1 file

1.15.0

1 file

1.14.6

1 file

1.14.5.post550

1 file

1.14.5

1 file

1.14.4.post550

1 file

1.14.4

1 file

1.14.3.post550

1 file

1.14.3

1 file

1.14.2.post550

1 file

1.14.2

1 file

1.14.1

1 file

1.14.0

1 file

1.13.0

1 file

1.12.6.post540

1 file

1.12.6.post530

1 file

1.12.6

1 file

1.12.5.post540

1 file

1.12.5.post530

1 file

1.12.5

1 file

1.12.4

1 file

1.12.3

1 file

1.12.2

1 file

1.12.1

1 file

1.12.0

1 file

1.11.0

1 file

1.10.1

1 file

1.10.0

1 file

1.9.0

1 file

1.8.0

1 file

1.7.3

1 file

1.7.2

1 file

1.7.1

1 file

1.7.0

1 file

1.6.3

1 file

1.6.2

1 file

1.6.0

1 file

1.5.2

1 file

1.5.1

1 file

1.5.0

1 file

1.4.1

1 file

1.4.0

1 file

1.3.3

1 file

1.3.2

1 file

1.3.1

1 file

1.3.0

1 file

1.2.9

1 file

1.2.8

1 file

1.2.7

1 file

1.2.5

1 file

1.2.4

1 file

1.2.3

1 file

1.2.2

1 file

1.2.1

1 file

1.2.0

1 file

1.1.1

1 file

1.1.0

1 file

1.0.3

1 file

1.0.2

1 file

1.0.1

1 file

1.0.0

1 file

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