You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by bu...@apache.org on 2011/09/10 21:50:55 UTC

svn commit: r795553 - /websites/staging/libcloud/trunk/content/testing.html

Author: buildbot
Date: Sat Sep 10 19:50:55 2011
New Revision: 795553

Log:
Staging update by buildbot

Modified:
    websites/staging/libcloud/trunk/content/testing.html

Modified: websites/staging/libcloud/trunk/content/testing.html
==============================================================================
--- websites/staging/libcloud/trunk/content/testing.html (original)
+++ websites/staging/libcloud/trunk/content/testing.html Sat Sep 10 19:50:55 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>