pytest-dev/pytest

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 20 minutes ago
Added to GitGenius on September 4th, 2026
Created on June 15th, 2015
Open Issues & Pull Requests: 818 (+0)
GitHub issues: Enabled
Number of forks: 3,351
Total Stargazers: 14,486 (+0)
Total Subscribers: 192 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 5.7 hours
Mean response time: 178.1 days
90th percentile: 459.6 days
Tracked items: 991

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 80% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "status: needs information" is answered fastest, typically in about 3 hours, while "type: enhancement" waits about 2 days. 57% of tracked open issues have had no activity in three months. Only 4% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 288
New in 7 days: 3
Closed in 7 days: 2
Avg open age: 1,136 days
Stale 30+ days: 243
Stale 90+ days: 209

Recent activity

Opened in 7 days: 3
Closed in 7 days: 2
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • type: bug (157)
  • type: proposal (116)
  • topic: fixtures (112)
  • type: enhancement (107)
  • topic: reporting (92)
  • topic: collection (81)
  • type: docs (63)
  • status: needs information (59)

Detailed Description

pytest is a testing framework that makes it easy to write small tests while scaling to support complex functional testing for applications and libraries.

The framework solves the problem of test verbosity and complexity by allowing developers to write tests using plain Python assert statements rather than requiring memorization of assertion method names. pytest provides detailed introspection of failing assertions, automatically discovers test modules and functions, and offers a modular fixture system for managing test resources and parametrization. The tool can run unittest and trial test suites without modification, making it compatible with existing test codebases.

Developers should choose pytest for Python projects of any size, from simple unit tests to complex functional testing scenarios. The framework is particularly well-suited for teams that value readable, maintainable test code and want to leverage Python's native assertion syntax. The rich plugin architecture with numerous external plugins available makes pytest adaptable to specialized testing needs across different project types and domains.

The project maintains active development with continuous integration workflows and comprehensive test coverage. Documentation is well-maintained and accessible through multiple channels. The community is engaged through multiple communication platforms including Discord and IRC, indicating sustained interest and support for users. The codebase is regularly updated to support current Python versions while maintaining compatibility with PyPy3.