Skip to main content

Junit report importer for Test IT

Project description

Junit report importer

Test IT

Junit report

Getting Started

Installation

pip install testit-importer-junit

Usage

API client

To use importer you need to install testit-api-client:

pip install testit-api-client

Configuration

Use the command testit-junit --help to view the configuration setup help:

testit-junit --url <url>
testit-junit --privatetoken <token>
testit-junit --projectid <id>
testit-junit --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/20/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/20/tests
  4. GET-request configurations, Preview tab, copy id field

Importing

Use the command testit-junit --resultsdir junit-results to specify the directory with Junit reports and create new test run in TMS instance.
Or use the command testit-junit --resultsdir junit-results --testrunid <id> to specify the directory with Junit reports 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.

Project details


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-junit-1.2.4.tar.gz (8.1 kB view details)

Uploaded Source

File details

Details for the file testit-importer-junit-1.2.4.tar.gz.

File metadata

  • Download URL: testit-importer-junit-1.2.4.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for testit-importer-junit-1.2.4.tar.gz
Algorithm Hash digest
SHA256 6b4e63f1c39070dceb9df24c2ceb26adfb8ac983e88d673c2d41806d17200f4b
MD5 9c8eaea022a81180b433d63e27d006c0
BLAKE2b-256 ed3deb42a69bfa0f661bd53dea47812139ce4242e997b58ef358033937e07072

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page