summaryrefslogtreecommitdiff
path: root/docs/index.rst
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-04-24 19:38:21 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2017-04-24 19:38:21 +0200
commit1da757c4408911dae34a707b7a63df89cc530727 (patch)
tree586bcea3fa996e9644d0bab88b4336eae9cbbd82 /docs/index.rst
parent1d6df8d52530c6143dcd0260bbcfd384d1315c8f (diff)
downloadpsutil-1018-test-refactoring.tar.gz
#1018: enable 'python -m psutil.tests' to run tests1018-test-refactoring
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst
index fabfb22b..72c2881c 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -2193,6 +2193,18 @@ Q&A
in python as
`os.getloadavg <https://docs.python.org/2/library/os.html#os.getloadavg>`__
+Running tests
+=============
+
+There are two ways of running tests. If psutil is already installed use::
+
+ $ python -m psutil.tests
+
+You can use this method as a quick way to make sure psutil fully works on your
+platform. If you have a copy of the source code you can also use::
+
+ $ make test
+
Development guide
=================