[Tutor] running unittests on multiple OS, including non-Posix

Albert-Jan Roskam fomcl at yahoo.com
Fri Feb 28 10:14:35 CET 2014


Hi,

I would like to run my unittests (--> nose) on multiple platforms. I also would like to test different python versions and implementations on each platform (--> tox [2]). These platforms also include Windows, so Travis CI or Docker is not an option.
I was thinking about using Vagrant [3] to fire up VirtualBox [4] VMs for each platform-to-be-tested, then either (a) fire up nose or tox through SSH or (b) (the easy way) prepare each VM such that nose/tox is fire up right when the OS starts (ie., edit .bashrc, autoexit.bat or whatever it is called for the OS at hand. But this all feels like reinventing the wheel. Can you recommend a package or strategy to use?


[1] https://pypi.python.org/pypi/nose/

[2] https://pypi.python.org/pypi/tox
[3] http://www.vagrantbox.es/
[4] https://www.virtualbox.org/

 
Regards,

Albert-Jan




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

All right, but apart from the sanitation, the medicine, education, wine, public order, irrigation, roads, a 

fresh water system, and public health, what have the Romans ever done for us?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 


More information about the Tutor mailing list