Closed pytestbot closed 8 years ago
Original comment by @flub
Thanks for the nice pull request
Original comment by @davehunt
I've submitted a pull request here: https://bitbucket.org/hpk42/pytest/pull-request/241/support-setting-configuration-using-the
Original comment by @hpk42
adding a "PYTEST_ADDOPTS" (analogoues to the ini-file option) should help in your case and doing an according PR would be welcome i think.
We are running jobs on an instance of Jenkins and we want to make the command line argument --tb=short be the default for all of our jobs. We can do this, without editing each individual job, but setting a global environment variable instead, but py would need to be able to use that environment variable to configure the value.
Is this an enhancement that would be considered and/or welcome as a patch?