pytest logo


A full-featured Python testing tool to help you write better programs
+ 1

What is pytest?

A framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. It is a mature full-featured Python testing tool.
pytest is a tool in the Testing Frameworks category of a tech stack.
pytest is an open source tool with 11.7K GitHub stars and 2.6K GitHub forks. Here’s a link to pytest's open source repository on GitHub

Who uses pytest?

124 companies reportedly use pytest in their tech stacks, including Back-end, Zé Delivery, and BestDoctor.

442 developers on StackShare have stated that they use pytest.

pytest Integrations

PyCharm, LambdaTest, unittest , Foresight, and Zebrunner are some of the popular tools that integrate with pytest. Here's a list of all 5 tools that integrate with pytest.

pytest's Features

  • Auto-discovery
  • Modular fixtures

pytest Alternatives & Comparisons

What are some alternatives to pytest?
Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
Avocado is an open source interaction design toolbox built by​ IDEO.​ It ​enables designers to make quick interactive prototypes without writing a line of code.​ ​Built on top of Facebook's Origami framework, Avocado provides ready-to-use patches that can be easily combined to create fully-customized prototypes.​ Official announcement:
It is behaviour-driven development, Python style. It uses tests written in a natural language style, backed up by Python code.
It is python’s xUnit style framework. It works much the same as the other styles of xUnit, and if you’re familiar with unit testing in other languages, this framework (or derived versions), may be the most comfortable for you.
See all alternatives

pytest's Followers
297 developers follow pytest to keep up with related blogs and decisions.