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

Randy Syring randy at thesyrings.us
Fri Feb 28 13:17:13 PST 2014

Why not Travis?  It can run stuff on Windows, I used to test python 
packages on Windows that way.

*Randy Syring*
Husband | Father | Redeemed Sinner

/"For what does it profit a man to gain the whole world
and forfeit his soul?" (Mark 8:36 ESV)/

On 02/28/2014 03:56 PM, Albert-Jan Roskam wrote:
> 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, AFAIK. 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 fired 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? Beautiful 
> is better than ugly, although practicality beats purity. In other 
> words: it would nice if it is The Right Way, but I am a lazy bastard 
> so I am also open for quick-and-dirty approaches ;-)
> [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?
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20140228/caa13c10/attachment.htm>

More information about the testing-in-python mailing list