[TIP] Struggling with nose-to-pytest config file

Skip Montanaro skip.montanaro at gmail.com
Tue May 1 09:18:54 PDT 2018


Thanks for the response, Bruno. I seem to be back in business.

I'm not familiar with the code, and with a quick skim nothing jumped out at
me. Is it possible to include environment variable references in the
addopts option? For example, is this valid?

[pytest]
addopts = --junit-xml=${XUNIT_DIR}/xunit.xml

At the moment I can get by without it, but envision needing something like
it in the not-too-distant future.

Thx,

Skip



More information about the testing-in-python mailing list