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 2012/12/30 07:14:42 UTC
svn commit: r844282 - in /websites/staging/libcloud/trunk/content: ./
testing.html
Author: buildbot
Date: Sun Dec 30 06:14:42 2012
New Revision: 844282
Log:
Staging update by buildbot for libcloud
Modified:
websites/staging/libcloud/trunk/content/ (props changed)
websites/staging/libcloud/trunk/content/testing.html
Propchange: websites/staging/libcloud/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Dec 30 06:14:42 2012
@@ -1 +1 @@
-1426895
+1426896
Modified: websites/staging/libcloud/trunk/content/testing.html
==============================================================================
--- websites/staging/libcloud/trunk/content/testing.html (original)
+++ websites/staging/libcloud/trunk/content/testing.html Sun Dec 30 06:14:42 2012
@@ -121,6 +121,12 @@ module and you need root permissions to
<p>To run the tests move to the root of the repository and run the following
command:</p>
<p><code>PYTHONPATH=. python setup.py test</code></p>
+<h4 id="running-a-single-test-file">Running a Single Test File</h4>
+<p>To run the tests located in a single test file, move to the root of the repository and run the following
+command:</p>
+<p><code>PYTHONPATH=. python libcloud/test/<path to test file></code></p>
+<p>For example:</p>
+<p><code>PYTHONPATH=. python libcloud/test/libcloud/test/compute/test_ec2.py</code></p>
<h3 id="generating-test-coverage-report">Generating Test Coverage Report</h3>
<p>To generate the test coverage run the following command:</p>
<p><code>PYTHONPATH=. python setup.py coverage</code></p>