[TIP] tox-0.7: fixes, python3-compat, site-packages
holger at merlinux.eu
Wed Jul 14 13:58:04 PDT 2010
thanks to feedback and help from Michael Foord, Sridhar Ratnakumar,
Kumar McMillan, Ronny Pfannschmidt and Ralf Schmitt i just
released tox-0.7 which includes a couple of fixes, improved Python3
virtualenv support (on non-windows platforms), and a new sitepackages
config option that let's you use globally installed packages.
See the more detailed changelog below.
The web page is here:
What is Tox?
TOX as is a virtualenv management and generic test command line tool
you can use for:
* checking your package installs correctly with different Python
versions and interpreters
* running your tests in each of the environments, configuring your test
tool of choice
* acting as a frontend to Continous Integration servers, greatly
reducing boilerplate and merging CI and shell-based testing.
- use virtualenv5 (my own fork of virtualenv3) for now to create python3
environments, fixes a couple of issues and makes tox more likely to
work with Python3 (on non-windows environments)
- add ``sitepackages`` option for testenv sections so that environments
can be created with access to globals (default is not to have access,
i.e. create environments with ``--no-site-packages``.
- addressing issue4: always prepend venv-path to PATH variable when calling subprocesses
- fix issue2: exit with proper non-zero return code if there were
errors or test failures.
- added unittest2 examples contributed by Michael Foord
- only allow 'True' or 'False' for boolean config values
(lowercase / uppercase is irrelevant)
- recreate virtualenv on changed configurations
- fix OSX related bugs that could cause the caller's environment to get
screwed (sorry). tox was using the same file as virtualenv for tracking
the Python executable dependency and there also was confusion wrt links.
this should be fixed now.
- fix long description, thanks Michael Foord
- initial release
More information about the testing-in-python