[TIP] Tox - passing tests_require from setup.py to Tox

Alyssa Kwan me at alyssackwan.name
Sat Nov 28 20:05:48 PST 2015


Hi all,

Apologies if this has been covered before. I've looked high and low and 
can't find it, so please excuse the potentially poor Google-fu.

I merely want to pass tests_require from setup.py (setuptools) to Tox. 
I'm using the setuptools.command.test.test extension as documented here: 
https://testrun.org/tox/latest/example/basic.html#integration-with-setuptools-distribute-test-commands. 
I tried using an env var but it broke with multiple deps. I'm sure this 
is fairly standard.

Any help is greatly appreciated!

Thanks!
Alyssa



More information about the testing-in-python mailing list