How to run my tests from inside setup.py (setuptools)?
I know the setuptools has an option to run your tests but 开发者_如何学运维I didn't find any information regarding how to make it run my tests.
By default my tests are included with the module and I use discovery to detect and run them-all.
Any ideas?
Use the test
command option to setup.py
(documented here) as extended by setuptools
(or Distribute
).
精彩评论