allankp / pytest-testrail

pytest plugin for integration with TestRail, for creating testruns and updating results
MIT License
96 stars 124 forks source link

Argument/config handling issues #28

Closed brherger closed 6 years ago

brherger commented 7 years ago

Using: Python 2.7.9 pytest-testrail (1.0.1)

Example usage in readme does not appear to work. $ pytest test_me.py --testrail=testrail.cfg usage: pytest [options] [file_or_dir] [file_or_dir] [...] pytest: error: argument --testrail: ignored explicit argument 'testrail.cfg'

allankp commented 6 years ago

@brherger pytest --testrail --tr-config=TR_CONFIG

The config is passed in as a seperate argument. https://github.com/allankp/pytest-testrail#all-available-options