saghul/pyuv — pull request #6 by masahitojp (2012-01-18 03:04:05+00:00)
Title: [Proposal] using tox

Do you know tox? (http://tox.readthedocs.org/en/latest/index.html)

tox is convenient to many version test.(py26,27,30, ...)

Usage is as follows. :

+ "easy_install tox" or "pip install tox"
+ python of each version is installed. and set PATH. (default python2.6 needs "python2.6" , other versions -- the same )
+ "tox -v" test is started! or "tox -v -e py26"

Have a fun!

other:

+ tox use virtualenv(http://pypi.python.org/pypi/virtualenv). change "test_ipc.py" for virtualenv.
+ change unittest to unittest2 (on python2.6 and python3.0). because use unittest2.skipif.
testskip for "common.UVTestCase class" is unnecessary.
unittest2 is unittest in python2.7, 3.1, 3.2　Instead of "old unittest class"
http://pypi.python.org/pypi/unittest2
http://docs.python.org/dev/library/unittest.html#skipping-tests-and-expected-failures