tree: 4184357e87e1a8137ca4c76822f6d2c8a6da62ed
  1. __init__.py
  2. conftest.py
  3. README.md
  4. test_aix.py
  5. test_bsd.py
  6. test_connections.py
  7. test_contracts.py
  8. test_heap.py
  9. test_linux.py
  10. test_memleaks.py
  11. test_misc.py
  12. test_osx.py
  13. test_posix.py
  14. test_process.py
  15. test_process_all.py
  16. test_scripts.py
  17. test_sudo.py
  18. test_sunos.py
  19. test_system.py
  20. test_testutils.py
  21. test_type_hints.py
  22. test_unicode.py
  23. test_windows.py
tests/README.md

Instructions for running tests

Install deps (e.g. pytest):

make install-pydeps-test

Some tests shell out to CLI tools (ps, ifconfig, ...). On UNIX install them with:

make install-sysdeps-test

Run tests:

make test

Run tests in parallel (faster):

make test-parallel

Run a specific test:

make test ARGS=tests/test_system.py::TestDiskAPIs

Test C extension memory leaks:

make test-memleaks