Author: tomaz
Date: Fri Jun 24 16:03:16 2011
New Revision: 1139365

URL: http://svn.apache.org/viewvc?rev=1139365&view=rev
Log:
Add testing page.

Added:
    libcloud/site/trunk/content/testing.mdtext

Added: libcloud/site/trunk/content/testing.mdtext
URL: 
http://svn.apache.org/viewvc/libcloud/site/trunk/content/testing.mdtext?rev=1139365&view=auto
==============================================================================
--- libcloud/site/trunk/content/testing.mdtext (added)
+++ libcloud/site/trunk/content/testing.mdtext Fri Jun 24 16:03:16 2011
@@ -0,0 +1,28 @@
+title: Testing
+
+## Testing
+
+### Prerequisites
+
+To run the libcloud test suite you need to have the following extra 
dependencies
+installed:
+
+* mock (pip install mock)
+* coverage (pip install coverage) - you only need this library if you want to
+ generate a test coverage report
+
+### Running Tests
+
+To run the tests move to the root of the repository and run the following
+command:
+
+`PYTHONPATH=. python setup.test test`
+
+### Generating Test Coverage Report
+
+To generate the test coverage run the following command:
+
+PYTHONPATH=. python setup.py coverage
+
+When it completes  you should see a new `coverage` directory which
+contains the test coverage.


Reply via email to