TrendWhat rose on GitHub, every day at 07:30 KST · 한국어

GitHub · as of November 8, 2026 · View on GitHub →

pytest-dev/pytest

Python unit testing framework

+10 stars in 7 days

Write simple assert statements to debug failures and scale to complex functional tests

Imagine a screen that shows you at a glance which value differed from expectations when a test fails. pytest simplifies debugging by providing detailed failure information using only plain assert statements. It is a Python testing framework that handles everything from small unit tests to full application functional tests with the same tool.

Detailed failure information from assert statements alone

pytest outputs detailed information about how values differed in failed assert statements. Developers do not need to remember specific verification function names; they only need to write plain assert statements. For example, if inc(3) == 5 fails, it clearly indicates that the actual result was 4. This detailed output reduces the time spent tracking down bugs.

Automatic discovery and flexible resource management

pytest automatically finds and runs test modules and functions. It also manages resources needed for tests through modularized components called fixtures. These resources apply flexibly, whether for small unit tests or parameterized long-lifecycle tests. Existing unittest or trial test suites can be run directly without separate conversion.

Over 1,300 plugins and supported environments

pytest features a rich plugin architecture and supports over 1,300 external plugins. This indicates that the community is growing actively. It requires a Python 3.10 or higher or PyPy3 environment, and if this condition is met, it can be applied to various projects. The documentation site provides installation methods, tutorials, and PDF materials.

Things to check before adoption

Projects using a Python 3.10 or higher or PyPy3 environment can adopt pytest. It is distributed under the MIT license, allowing free use. If you discover a security vulnerability, you must report it through the security advisory channel rather than the issue tracker. Commercial support for enterprises is provided through Tidelift subscriptions, so consider that option if commercial support is needed.

Written by AI from this repository's README on October 7, 2026. For the facts, the original on GitHub is the reference.

By the numbers

GitHub trending history
3 days between Jun 19, when Trend began recording, and Nov 8, 2026

Read from GitHub, as of November 8, 2026.

Language
Python
Topics
hacktoberfest · python · test · testing · unit-testing
Stars
14,670
Stars gained in 7 days
+10
Contributors
1,185
Forks
3,611
Latest release
9.2.0 · October 27, 2026
Commits
17,891
Last commit
November 8, 2026
Open issues
689
Open pull requests
242
Used by
1,755,378

Related repositories

View on GitHub → · Homepage