3

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.

4

1 回答 1

7

tox可以做到这一点,甚至更多,比如在多个平台上运行测试。

于 2011-10-06T17:07:27.440 回答