Is there a framework that can be used to test Python modules against several versions of Python?
-
07-02-2021 - |
Domanda
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.
Soluzione
tox does this and even more, like running the tests on multiple platforms too.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow