| 1 |
pytest
Frameworks
|
1,046,171,354 |
14,424 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
A mature full-featured Python testing tool.
|
|
|
|
| 2 |
coverage
Code Coverage
|
316,775,442 |
3,409 |
|
Code Coverage
Testing
Developer Tools
|
→ |
|
Code coverage measurement.
|
|
|
|
| 3 |
playwright-python
Browser Automation
|
101,807,691 |
14,918 |
|
Browser Automation
Testing
Developer Tools
|
→ |
|
Python version of the Playwright testing and automation library.
|
|
|
|
| 4 |
faker
Fake Data
|
77,228,436 |
19,369 |
|
Fake Data
Testing
Developer Tools
|
→ |
|
A Python package that generates fake data.
|
|
|
|
| 5 |
responses
Mock
|
66,843,457 |
4,344 |
|
Mock
Testing
Developer Tools
|
→ |
|
A utility library for mocking out the requests Python library.
|
|
|
|
| 6 |
freezegun
Mock
|
57,422,727 |
4,522 |
|
Mock
Testing
Developer Tools
|
→ |
|
Travel through time by mocking the datetime module.
|
|
|
|
| 7 |
selenium
Browser Automation
|
54,572,951 |
34,372 |
|
Browser Automation
Testing
Developer Tools
|
→ |
|
Python bindings for Selenium WebDriver.
|
|
|
|
| 8 |
hypothesis
Frameworks
|
49,419,052 |
8,894 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
Hypothesis is an advanced Quickcheck style property based testing library.
|
|
|
|
| 9 |
tox
Test Runners
|
33,033,599 |
3,922 |
|
Test Runners
Testing
Developer Tools
|
→ |
|
Auto builds and tests distributions in multiple Python versions
|
|
|
|
| 10 |
vcrpy
Mock
|
25,197,645 |
2,982 |
|
Mock
Testing
Developer Tools
|
→ |
|
Record and replay HTTP interactions on your tests.
|
|
|
|
| 11 |
respx
Mock
|
22,183,623 |
829 |
|
Mock
Testing
Developer Tools
|
→ |
|
Mock HTTPX with awesome request patterns and response side effects.
|
|
|
|
| 12 |
factory_boy
Object Factories
|
21,524,632 |
3,806 |
|
Object Factories
Testing
Developer Tools
|
→ |
|
A test fixtures replacement for Python.
|
|
|
|
| 13 |
locust
Load Testing
|
13,427,154 |
28,076 |
|
Load Testing
Testing
Developer Tools
|
→ |
|
Scalable user load testing tool written in Python.
|
|
|
|
| 14 |
polyfactory
Object Factories
|
10,959,033 |
1,501 |
|
Object Factories
Testing
Developer Tools
|
→ |
|
mock data generation library with support to classes (continuation of pydantic-factories)
|
|
|
|
| 15 |
schemathesis
API Testing
|
6,240,612 |
3,536 |
|
API Testing
Testing
Developer Tools
|
→ |
|
A tool for automatic property-based testing of web applications built with Open API / Swagger specifications.
|
|
|
|
| 16 |
nox
Test Runners
|
5,697,633 |
1,552 |
|
Test Runners
Testing
Developer Tools
|
→ |
|
Flexible test automation for Python.
|
|
|
|
| 17 |
robotframework
Frameworks
|
4,677,771 |
11,823 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
A generic test automation framework.
|
|
|
|
| 18 |
seleniumbase
Browser Automation
|
3,026,575 |
12,933 |
|
Browser Automation
Testing
Developer Tools
|
→ |
|
Python framework for web automation & testing, with stealth options.
|
|
|
|
| 19 |
mimesis
Fake Data
|
2,285,918 |
4,840 |
|
Fake Data
Testing
Developer Tools
|
→ |
|
is a Python library that help you generate fake data.
|
|
|
|
| 20 |
mock
Mock
|
Not on PyPI |
74,339 |
|
Mock
Testing
Developer Tools
Built-in
|
→ |
|
(Python standard library) A mocking and patching library.
|
|
|
|