• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..30-Apr-2018-

README.rstH A D11-Apr-2017799 2216

_bsd.pyH A D11-Apr-20178.7 KiB253198

_linux.pyH A D11-Apr-201718.5 KiB474382

_osx.pyH A D11-Apr-20175 KiB161118

_posix.pyH A D11-Apr-20179.7 KiB259198

_sunos.pyH A D11-Apr-20171.4 KiB4933

_windows.pyH A D11-Apr-201717.5 KiB465361

test_memory_leaks.pyH A D11-Apr-201713 KiB446335

test_psutil.pyH A D11-Apr-2017108.5 KiB3,0142,420

README.rst

1- The recommended way to run tests (also on Windows) is to cd into parent
2  directory and run ``make test``
3
4- Dependencies for running tests:
5   -  python 2.6: ipaddress, mock, unittest2
6   -  python 2.7: ipaddress, mock
7   -  python 3.2: ipaddress, mock
8   -  python 3.3: ipaddress
9   -  python >= 3.4: no deps required
10
11- The main test script is ``test_psutil.py``, which also imports platform-specific
12  ``_*.py`` scripts (which should be ignored).
13
14- ``test_memory_leaks.py`` looks for memory leaks into C extension modules and must
15  be run separately with ``make test-memleaks``.
16
17- To run tests on all supported Python version install tox (pip install tox)
18  then run ``tox``.
19
20- Every time a commit is pushed tests are automatically run on Travis:
21  https://travis-ci.org/giampaolo/psutil/
22