pytest VS tox

Compare pytest vs tox and see what are their differences.

pytest

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing (by pytest-dev)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
pytest tox
30 -
11,329 -
1.6% -
9.9 -
6 days ago almost 8 years ago
Python Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pytest

Posts with mentions or reviews of pytest. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-31.

tox

Posts with mentions or reviews of tox. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning tox yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing pytest and tox you can also consider the following projects:

nose2 - The successor to nose, based on unittest2

LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline

Robot Framework - Generic automation framework for acceptance testing and RPA

green - Green is a clean, colorful, fast python test runner.

Behave - BDD, Python style.

symbiflow-xc7z-automatic-tester - Tool for automatically testing FPGA designs using a Zynq Series 7 board.

Slash - The Slash testing infrastructure

hypothesis - Hypothesis is a powerful, flexible, and easy to use library for property-based testing.

nose - nose is nicer testing for python

mamba - The definitive testing tool for Python. Born under the banner of Behavior Driven Development (BDD).

PyRestTest - Python Rest Testing

Schemathesis - Automate your API Testing: catch crashes, validate specs, and save time