Is there a framework that can be used to test Python modules against several versions of Python?

StackOverflow https://stackoverflow.com/questions/7677897

  •  07-02-2021
  •  | 
  •  

Pregunta

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.

¿Fue útil?

Solución

tox does this and even more, like running the tests on multiple platforms too.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top