[py-dev] [hpk42/pytest] Configuration Files - Add an option to read them from command line parameter or an environment variable (issue #174)
issues-reply at bitbucket.org
Sun Aug 5 09:47:08 CEST 2012
--- you can reply above this line ---
New issue 174: Configuration Files - Add an option to read them from command line parameter or an environment variable
Use case: I would like to be able to run a simple "py.test" discovery from the root of the trunk and not have the configuration files clutter the root.
I would expect to be able to either supply a different path to configuration files than that of the discovery via a command line argument:
"py.test path/to/testdir -c path/to/configurationfile"
Alternately, I would like to have an environment variable which will be checked prior to "path/to/testdir".
This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.
More information about the Pytest-dev