| 1 |
pytest
Frameworks
|
822,677,977 |
14,506 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
A mature full-featured Python testing tool.
|
|
|
|
| 2 |
coverage
Code Coverage
|
276,252,833 |
3,412 |
|
Code Coverage
Testing
Developer Tools
|
→ |
|
Code coverage measurement.
|
|
|
|
| 3 |
playwright-python
Browser Automation
|
89,168,824 |
15,001 |
|
Browser Automation
Testing
Developer Tools
|
→ |
|
Python version of the Playwright testing and automation library.
|
|
|
|
| 4 |
faker
Fake Data
|
64,613,194 |
19,402 |
|
Fake Data
Testing
Developer Tools
|
→ |
|
A Python package that generates fake data.
|
|
|
|
| 5 |
responses
Mock
|
52,514,651 |
4,344 |
|
Mock
Testing
Developer Tools
|
→ |
|
A utility library for mocking out the requests Python library.
|
|
|
|
| 6 |
freezegun
Mock
|
48,272,280 |
4,524 |
|
Mock
Testing
Developer Tools
|
→ |
|
Travel through time by mocking the datetime module.
|
|
|
|
| 7 |
hypothesis
Frameworks
|
47,048,747 |
8,966 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
Hypothesis is an advanced Quickcheck style property based testing library.
|
|
|
|
| 8 |
selenium
Browser Automation
|
36,012,071 |
34,489 |
|
Browser Automation
Testing
Developer Tools
|
→ |
|
Python bindings for Selenium WebDriver.
|
|
|
|
| 9 |
vcrpy
Mock
|
23,617,816 |
3,009 |
|
Mock
Testing
Developer Tools
|
→ |
|
Record and replay HTTP interactions on your tests.
|
|
|
|
| 10 |
respx
Mock
|
21,494,532 |
836 |
|
Mock
Testing
Developer Tools
|
→ |
|
Mock HTTPX with awesome request patterns and response side effects.
|
|
|
|
| 11 |
factory_boy
Object Factories
|
20,152,946 |
3,806 |
|
Object Factories
Testing
Developer Tools
|
→ |
|
A test fixtures replacement for Python.
|
|
|
|
| 12 |
tox
Test Runners
|
17,773,000 |
3,933 |
|
Test Runners
Testing
Developer Tools
|
→ |
|
Auto builds and tests distributions in multiple Python versions
|
|
|
|
| 13 |
locust
Load Testing
|
10,635,595 |
28,154 |
|
Load Testing
Testing
Developer Tools
|
→ |
|
Scalable user load testing tool written in Python.
|
|
|
|
| 14 |
polyfactory
Object Factories
|
9,779,488 |
1,505 |
|
Object Factories
Testing
Developer Tools
|
→ |
|
mock data generation library with support to classes (continuation of pydantic-factories)
|
|
|
|
| 15 |
nox
Test Runners
|
4,252,146 |
1,559 |
|
Test Runners
Testing
Developer Tools
|
→ |
|
Flexible test automation for Python.
|
|
|
|
| 16 |
robotframework
Frameworks
|
4,133,724 |
11,882 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
A generic test automation framework.
|
|
|
|
| 17 |
schemathesis
API Testing
|
3,390,096 |
3,599 |
|
API Testing
Testing
Developer Tools
|
→ |
|
A tool for automatic property-based testing of web applications built with Open API / Swagger specifications.
|
|
|
|
| 18 |
mimesis
Fake Data
|
2,210,664 |
4,842 |
|
Fake Data
Testing
Developer Tools
|
→ |
|
is a Python library that help you generate fake data.
|
|
|
|
| 19 |
seleniumbase
Browser Automation
|
2,022,470 |
13,016 |
|
Browser Automation
Testing
Developer Tools
|
→ |
|
Python framework for web automation & testing, with stealth options.
|
|
|
|
| 20 |
mock
Mock
|
Stdlib |
77,167 |
|
Mock
Testing
Developer Tools
Stdlib
|
→ |
|
(Python standard library) A mocking and patching library.
|
|
|
|