【发布时间】:2014-01-08 03:36:27
【问题描述】:
我想支持一个界面,新开发人员只需运行python setup.py test 即可运行我的所有测试。我认为这是合理的。
鉴于我在我的包 (optional features with their own dependencies) 中定义了几个“附加”,我如何确保这些测试在 python setup.py test 下正确运行。
这是不是太期待了?
例如,我尝试将 .[extra-feature-1] 添加到我的 tests_require 列表中,但这显然是一厢情愿。
【问题讨论】:
标签: python testing setuptools python-unittest