Skip to main content

API-client for Test IT

Project description

Test IT TMS API client for Python

Test IT

Getting Started

Installation

pip install testit-api-client

Usage

Configuration

To use client you need to provide configuration to Api:

from testit_api_client.api import Api

requests = Api(url, private_token, proxy=proxy)

After configuration is done you can access different clients from Api object and then use methods to control Test IT.

Examples

Create and start test-run

from testit_api_client.json_fixture import JSONFixture

testrun_id = requests.create_testrun(
                JSONFixture.create_testrun(
                    project_id,
                    testrun_name))
					
requests.testrun_activity(testrun_id, 'start')

Create autotest

autotest_id = requests.create_autotest(
				JSONFixture.create_autotest(
					external_id,
					project_id,
					autotest_name,
					steps,
					setup,
					teardown,
					namespace,
					classname,
					title,
					description,
					links,
					labels
				))		

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-api-client-1.0.1.tar.gz (7.8 kB view details)

Uploaded Source

File details

Details for the file testit-api-client-1.0.1.tar.gz.

File metadata

  • Download URL: testit-api-client-1.0.1.tar.gz
  • Upload date:
  • Size: 7.8 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-api-client-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1bd97d2a4dd7bdb049932a78d1dc97efae9e80aafab341a444f0f5ccb8c2b80f
MD5 ab09dbd3c6d38b3f2fb76c03ff4cbec0
BLAKE2b-256 901156d179f270c8a93fe696b48f1880e14469684962cdd2e8dac6737fbaf434

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