/testrail-api

Python wrapper of the TestRail API(v2)

Primary LanguagePythonApache License 2.0Apache-2.0

GitHub version Downloads PyPI - Python Version

testrail-api

This is a Python wrapper of the TestRail API(v2) according to the official document

Install

pip install testrail-api

Example

from testrail_api import TestRailAPI

api = TestRailAPI('https://example.testrail.com/', 'example@mail.com', 'password')
my_case = api.cases.get_case(22)
api.cases.add_case(1, 'New Case', milestone_id=1)