pytest is a mature, full-featured Python testing tool that allows you to easily write small tests, while also being able to scale to support complex functional testing for applications and libraries. pytest has detailed information on failing assert statements, which means there’s no need to remember self.assert names. It uses only plain assert statements due to its detailed assertion introspection.

pytest features auto-discovery of test modules and functions; modular fixtures made for small or parametrized long-lived test resources; and a rich plugin architecture of more than 850 external plugins. pytest can immediately run unittest and nose tests suites as well.

Features

  • Complete information on failing assert statements
  • Test modules and functions auto-discovery
  • Modular fixtures for managing small or parametrized long-lived test resources
  • Able to immediately run unittest (or trial), nose test suites
  • Python 3.6+ and PyPy3
  • Rich plugin architecture, with more than 850+ external plugins and a thriving community

Project Samples

Project Activity

See All Activity >

Categories

Software Testing

License

MIT License

Follow pytest

pytest Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pytest!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Software Testing Tool

Registered

2020-11-05