Author: tomaz
Date: Sat Sep 10 19:51:24 2011
New Revision: 795554
Log:
Publishing merge to libcloud site by tomaz
Modified:
websites/production/libcloud/ (props changed)
websites/production/libcloud/content/testing.html
Propchange: websites/production/libcloud/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat Sep 10 19:51:24 2011
@@ -1 +1 @@
-/websites/staging/libcloud/trunk:787380-793412
+/websites/staging/libcloud/trunk:787380-795553
Modified: websites/production/libcloud/content/testing.html
==============================================================================
--- websites/production/libcloud/content/testing.html (original)
+++ websites/production/libcloud/content/testing.html Sat Sep 10 19:51:24 2011
@@ -80,11 +80,18 @@
<p>To run the libcloud test suite you need to have the following extra
dependencies
installed:</p>
<ul>
+<li>tox (pip install mock) - you only need this library if you want to use tox
to run the tests</li>
<li>mock (pip install mock)</li>
<li>coverage (pip install coverage) - you only need this library if you want to
generate a test coverage report</li>
</ul>
-<h3 id="running_tests">Running Tests</h3>
+<h3 id="running_tests_on_all_the_supported_python_versions_using_tox">Running
Tests On All the Supported Python Versions Using tox</h3>
+<p>To run the tests on all the supported Python versions run the following
command:</p>
+<p><code>sudo tox</code></p>
+<p>You need to run this command as a root user, because Python 2.5 depends on
<strong>ssl</strong>
+module and you need root permissions to install it.</p>
+<p>Note: tox uses virtualenv and won't pollute your local Python
installations.</p>
+<h3 id="running_tests_manually">Running Tests Manually</h3>
<p>To run the tests move to the root of the repository and run the following
command:</p>
<p><code>PYTHONPATH=. python setup.test test</code></p>