是否有一个框架可用于针对多个 Python 版本测试 Python 模块?
我有一个框架可用于在所有已安装的 python 版本上运行 Python 单元测试?
我的系统上安装了 3 个版本的 python,我希望能够在所有版本上运行unitests。可执行文件使用“通常”的命名约定: python2.5 python2.7 python3.2
我当前的环境是Windows,但我认为解决方案应该独立于平台。
I there a framework that can be used to run Python unit tests on all installed versions of python?
I have 3 versions of python installed on my system and I want to be able to run the unitests on all of them. The executables are using the "usual" naming convention: python2.5 python2.7 python3.2
My current environment is Windows but I think that the solution should be platform independent.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
tox 可以做到这一点,甚至更多,就像在多个平台上运行测试一样。
tox does this and even more, like running the tests on multiple platforms too.