Skip to main content

pytest plugin for interaction with TestRail

Project description

Pytest plugin for interaction with TestRail


pip install pytest-pytestrail


from pytest_pytestrail import pytestrail'C12')
def test_one():
    ...  # test code'C13', 'C14')
def test_two():
    ... # test code


Config file

pytest.ini or setup.cfg pytest configuration

pytestrail = True
pytestrail-url =
pytestrail-email =
pytestrail-password = password
pytestrail-test-run = 12
pytestrail-no-decorator-skip = True
pytestrail-report = True


Command line options

--pytestrail            Enable plugin
--tr-url=URL            TestRail address
--tr-email=EMAIL        Email for the account on the TestRail
--tr-password=PASSWORD  Password for the account on the TestRail
--tr-test-run=12        ID testrun
--tr-no-decorator-skip  Skip tests without decorator
--tr-report             Enable report

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pytest_pytestrail-0.1.6-py3-none-any.whl (6.3 kB) Copy SHA256 hash SHA256 Wheel py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page