pytest-dev/pytest
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
1 release in the last 90 days, the latest 8 days ago, with 381 contributors on GitHub.
Use Cases & Benefits
- Provides a Python testing framework that simplifies writing small tests and supports complex functional testing.
- Offers detailed assertion introspection and modular fixtures, enabling easy test writing and scalable test management.
- Use for writing and running unit tests in Python projects with minimal boilerplate code.
- Use for managing complex test setups and resources using parametrized and modular fixtures.
- Use for integrating and running existing unittest or trial test suites within a modern testing workflow.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
- Contributing guide: present
- Code of conduct: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
.. image:: https://github.com/pytest-dev/pytest/raw/main/doc/en/img/pytest_logo_curves.svg :target: https://docs.pytest.org/en/stable/ :align: center :height: 200 :alt: pytest
.. image:: https://codecov.io/gh/pytest-dev/pytest/branch/main/graph/badge.svg :target: https://codecov.io/gh/pytest-dev/pytest :alt: Code coverage Status
.. image:: https://results.pre-commit.ci/badge/github/pytest-dev/pytest/main.svg :target: https://results.pre-commit.ci/latest/github/pytest-dev/pytest/main :alt: pre-commit.ci status
.. image:: https://readthedocs.org/projects/pytest/badge/?version=latest :target: https://pytest.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
.. image:: https://img.shields.io/badge/Discord-pytest--dev-blue :target: https://discord.com/invite/pytest-dev :alt: Discord
.. image:: https://img.shields.io/badge/Libera%20chat-%23pytest-orange :target: https://web.libera.chat/#pytest :alt: Libera chat
The
pytestframework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.Due to
pytest's detailed assertion introspection, only plainassertstatements are used. Seegetting-started <https://docs.pytest.org/en/stable/getting-started.html#our-first-test-run>_ for more examples.For full documentation, including installation, tutorials and PDF documents, please see https://docs.pytest.org/en/stable/.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
3.6K+321
Open issues
921+112
Compared with peers in Testing
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| D4Vinci/Scrapling | 101.1K | +6.3K | 75 | 6 days ago |
| nrwl/nx | 29.4K | — | 65 | 3 days ago |
| stretchr/testify | 26.2K | — | 56 | 78 days ago |
| gildas-lormeau/SingleFile | 22.9K | — | 35 | today |
| appium/appium | 22.2K | — | 60 | 1 day ago |
| pytest-dev/pytest | 14.7K | — | 65 | 8 days ago |
| Category median | 26.2K | — | 60 | — |
Discover Repositories
Search across tracked repositories by name or description