pytest plugin for interaction with TestRail
Project description
pytest-pytestrail
Pytest plugin for interaction with TestRail
Install
pip install pytest-pytestrail
Example
from pytest_pytestrail import pytestrail
@pytestrail.case('C12')
def test_one():
... # test code
@pytestrail.case('C13', 'C14')
def test_two():
... # test code
Configuration
Config file
pytest.ini or setup.cfg pytest configuration
[pytest]
pytestrail = True
pytestrail-url = https://exemle.testrail.com/
pytestrail-email = exemle@mail.com
pytestrail-password = password
pytestrail-test-run = 12
pytestrail-no-decorator-skip = True
pytestrail-report = True
or
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
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for pytest_pytestrail-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b99e9fd9e10c77f8d6c8d74693011ed89aa1d6180a7735d3547e4dd0e703b61a |
|
MD5 | 4fa67db0d075a205fdf7cea9ba39465f |
|
BLAKE2b-256 | 33ed681411f6a3e371a9992cd0c43ee8dd8a855e50b2f84c9d141fc1c7ba187c |