-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get rid of reference to old test runner + update test instructions
- Loading branch information
Showing
2 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,40 @@ | ||
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:: | ||
Setup: | ||
|
||
.. code-block:: bash | ||
make install-pydeps-test # install pytest | ||
There are two ways of running tests. As a "user", if psutil is already | ||
installed and you just want to test it works on your system: | ||
|
||
.. code-block:: bash | ||
python -m psutil.tests | ||
As a "developer", if you have a copy of the source code and you wish to hack | ||
on psutil:: | ||
As a "developer", if you have a copy of the source code and you're working on | ||
it: | ||
|
||
.. code-block:: bash | ||
make test | ||
You can run tests in parallel with: | ||
|
||
.. code-block:: bash | ||
make test-parallel | ||
You can run a specific test with: | ||
|
||
.. code-block:: bash | ||
make test ARGS=psutil.tests.test_system.TestDiskAPIs | ||
You can run memory leak tests with: | ||
|
||
.. code-block:: bash | ||
make install-pydeps # install missing third-party deps | ||
make test # serial run | ||
make test-parallel # parallel run | ||
make test-parallel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters