Command-line tool
pytest
brew/pytest
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Simple powerful testing with Python
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
pipx install pytest
macOS
brew install pytest pipx install pytest
Linux
pipx install pytest
Run tests from specific files
pytest path/to/test_file1.py path/to/test_file2.py ...
Run tests with names matching a specific [k]eyword expression
pytest -k expression
Exit as soon as a test fails or encounters an error
pytest -x
Related command-line tools
- scrut
A simple and powerful test framework for CLI applications - nearley
Simple, fast, powerful parser toolkit for JavaScript. parser parse generator compiler compile grammar language - pympress
Simple and powerful dual-screen PDF reader designed for presentations python presentation slide gtk pdf-reader… - @mongodb-js/nearley
Simple, fast, powerful parser toolkit for JavaScript. parser parse generator compiler compile grammar language - sourcetree
Simple and powerful Git GUI - skm
Simple and powerful SSH keys manager - flameshot
Powerful yet simple to use screenshot software - choeazycopy
Simple and powerful GUI to Microsoft's RoboCopy tool.
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents