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
  •  | 
  •  

문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top