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 10.3K GitHub stars and 2.3K GitHub forks. Here’s a link to pytest's open source repository on GitHub
Who uses pytest?
103 companies reportedly use pytest in their tech stacks, including Back-end, Zé Delivery, and BestDoctor.
300 developers on StackShare have stated that they use pytest.
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.
- Modular fixtures
pytest Alternatives & Comparisons
What are some alternatives to pytest?
See all alternatives
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: http://labs.ideo.com/2014/05/27/avocado/
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.