diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-03-09 19:51:10 -0800 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2018-03-09 19:51:10 -0800 |
| commit | b578d2febfd35f80fcfa1ce1bdf18d44d21b1581 (patch) | |
| tree | 5341acf84032ee89457b973d3c0fd24f332c4db4 /psutil/tests/README.rst | |
| parent | b409472c271c0f803cfa8ecc83033e508f2ae429 (diff) | |
| download | psutil-b578d2febfd35f80fcfa1ce1bdf18d44d21b1581.tar.gz | |
Move tests out of package to top level directory (#1232)
Cleanly separates tests from the package itself. Prevents the tests
being installed to site-packages. Tests are still distributed with the
source distribution by MANIFEST.in.
Avoids installing tests in production environments, leading to less
total code in the environment.
Diffstat (limited to 'psutil/tests/README.rst')
| -rw-r--r-- | psutil/tests/README.rst | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/psutil/tests/README.rst b/psutil/tests/README.rst deleted file mode 100644 index 515abf77..00000000 --- a/psutil/tests/README.rst +++ /dev/null @@ -1,23 +0,0 @@ -Instructions for running tests -============================== - -* There are two ways of running tests. As a "user", if psutil is already - installed and you just want to test it works:: - - python -m psutil.tests --install-deps # install test deps - python -m psutil.tests - - As a "developer", if you have a copy of the source code and you whish to hack - on psutil:: - - make setup-dev-env # install test deps (+ other things) - make test - -* To run tests on all supported Python versions install tox - (``pip install tox``) then run ``tox`` from within psutil root directory. - -* Every time a commit is pushed tests are automatically run on Travis - (Linux, OSX) and appveyor (Windows): - - * Travis builds: https://travis-ci.org/giampaolo/psutil - * AppVeyor builds: https://ci.appveyor.com/project/giampaolo/psutil |
