Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 458
sorin Avatar asked Jan 01 '26 01:01

sorin


1 Answers

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

like image 172
Ned Batchelder Avatar answered Jan 02 '26 13:01

Ned Batchelder



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!