Python client library for interacting with TestLodge.
Project description
Description
Python client library for interacting with TestLodge.
Installation
pip install testlodge
Usage
import os
from testlodge import Client
tl = Client(
email='my.email@email.com',
api_key=os.environ['TESTLODGE_API_KEY'],
account_id=os.environ['TESTLODGE_ACCOUNT_ID'],
)
Users
from testlodge import UserJSON
user_dict: UserJSON = dict(
id=123456,
firstname='First',
lastname='Last',
email='user@email.com',
created_at="2022-01-01T20:30:40.123456Z",
updated_at="2022-05-16T01:08:41.493190Z",
)
Requirement Documents
from testlodge import RequirementDocumentJSON
requirement_document_dict: RequirementDocumentJSON = dict(
id=123456,
title='title',
should_version: True,
project_id=234567,
created_at="2022-01-01T20:30:40.123456Z",
updated_at="2022-05-16T01:08:41.493190Z",
)
Suite
...
Suite Section
from testlodge import SuiteSectionJSON
suite_section_dict: SuiteSectionJSON = dict(
id=123456,
title='title',
suite_id=234567,
created_at="2022-01-01T20:30:40.123456Z",
updated_at="2022-05-16T01:08:41.493190Z",
)
Suite Section
from testlodge import CaseJSON
case_dict: CaseJSON = dict(
id=123456,
project_id=234567,
suite_section_id=345678,
position=1,
last_saved_by_id=456789,
last_saved_by=user_dict,
created_at="2022-01-01T20:30:40.123456Z",
updated_at="2022-05-16T01:08:41.493190Z",
custom_fields=[],
requirements=[],
step_number='TC123',
title='test case 1',
description=None,
test_steps=None,
expected_result=None,
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
testlodge-0.0.9.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for testlodge-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3589f481b359f3cf7d93854221ab590d78ded847befdae681f73462a884bf053 |
|
MD5 | 7c03fc0223d710a8bc2e92f6e46f94b4 |
|
BLAKE2b-256 | b91580769cef1e512ded55ad77bb3a65fc1a4619f8536682340c774cc93450a7 |