开发者

How to run my tests from inside setup.py (setuptools)?

开发者 https://www.devze.com 2023-04-11 00:55 出处:网络
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.

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号