Software Testing Toolbox
pytest logo

Unit & BDD Frameworks

pytest

The dominant Python testing framework; simple assertion syntax, fixtures, and a huge plugin ecosystem.

Community score
77
78 up

About pytest

The dominant Python testing framework; simple assertion syntax, fixtures, and a huge plugin ecosystem.

Also underpins many Python-based API/UI automation frameworks (e.g. Playwright-Python).

Community rating

Based on 79 votes

99% positive ยท 78 up

The star score moves every time someone votes this tool up or down.

Step-by-step installation

`pip install pytest`, then run `pytest` in the project root to auto-discover and run tests.

Video walkthrough

No video is linked yet. Browse walkthroughs on YouTube.

Community knowledge

Discussion

2 comments
Sign in to read the discussion, add comments, reply, and vote.