# pytest

- **Canonical URI:** https://www.vioscale.ai/software/pytest
- **Category:** Testing Tools
- **Vendor:** pytest-dev
- **Homepage:** https://pytest.org
- **Also known as:** py-test
- **Profile claimed by vendor:** no
- **Last updated:** 2026-08-05T12:47:10.450Z

## Vioscale score

**74.6 / 100**, confidence 51% (medium).

Composite of weighted, independently-sourced signals (no user reviews, no vendor payment).

| Signal | Score | Weight | Contribution | Evidence present |
|---|--:|--:|--:|:--:|
| price_level | 100 | 0.046 | 4.6 | ✓ |
| reliability | 0 | 0.062 | 0 | - |
| capabilities | 57.8 | 0.123 | 7.1 | ✓ |
| github_stars | 77 | 0.038 | 2.9 | ✓ |
| integrations | 0 | 0.062 | 0 | - |
| github_activity | 61.7 | 0.138 | 8.5 | ✓ |
| release_cadence | 83.3 | 0.077 | 6.4 | ✓ |
| security_posture | 0 | 0.1 | 0 | - |
| package_downloads | 97.1 | 0.2 | 19.4 | ✓ |
| pricing_transparency | 25 | 0.062 | 1.6 | ✓ |
| stackoverflow_activity | 79.9 | 0.092 | 7.4 | ✓ |

## Pricing

_As of 2026-07-08, [verify at source](https://pytest.org). Independently observed._

Open source · Free tier

> Free and open source. Enterprise support available via Tidelift.

| Plan | Price | Free | Commitment |
|---|---|:--:|---|
| Community (Open Source) | Free | ✓ | - |
| Enterprise Support | Contact sales | - | - |

### Community (Open Source)

- Detailed assertion introspection
- Auto-discovery of test modules
- Modular fixtures
- unittest compatibility
- 1300+ external plugins

### Enterprise Support (Contact sales)

Available via Tidelift Subscription for commercial support and maintenance

## Platform & deployment

- **Platforms:** CLI

## Capabilities

_The capabilities that matter for Testing Tools. "-" = undocumented, not absent._

| Capability | Supported |
|---|:--:|
| **Core** | |
| Test types | - |
| Browser automation | - |
| Built-in assertion library | ✓ |
| **Isolation** | |
| Mocking / stubbing | ✓ |
| **Techniques** | |
| Snapshot testing | - |
| **Performance** | |
| Parallel execution | - |
| **Insight** | |
| Code coverage | - |
| **DX** | |
| Watch mode | - |
| **Ops** | |
| CI integration | ✓ |
| **Core** | |
| Languages | Python |

## FAQ

### What is pytest and what is it primarily used for?

pytest is a testing framework for Python that enables developers to write simple, readable tests using plain assert statements. It supports everything from basic unit testing to complex functional testing and can automatically discover test files throughout a project directory.

_Source: [https://docs.pytest.org/en/stable/](https://docs.pytest.org/en/stable/)._

### What programming languages does pytest support?

pytest is designed exclusively for Python and requires Python 3.10 or later, or PyPy 3. It does not provide testing support for other programming languages.

_Source: [https://docs.pytest.org/en/stable/](https://docs.pytest.org/en/stable/)._

### What is the license and cost model for pytest?

pytest is open source software distributed under the MIT license and is completely free to use, modify, and distribute. There is no commercial version or paid tier.

_Source: [https://github.com/pytest-dev/pytest](https://github.com/pytest-dev/pytest)._

### What are pytest fixtures and why are they important?

Fixtures are reusable test components that set up preconditions and provide test data through a dependency injection mechanism. They eliminate boilerplate setup and teardown code, improve test clarity by using explicit function parameters, and can be easily parametrized to run tests with multiple data sets.

_Source: [https://docs.pytest.org/en/stable/fixture.html](https://docs.pytest.org/en/stable/fixture.html)._

### How does pytest compare to Python's built-in unittest framework?

pytest uses plain Python assert statements instead of unittest's specialized assertion methods like assertEqual(), provides more detailed introspection into failing assertions, and requires less boilerplate code. Both frameworks can coexist in a project, as pytest can run unittest test suites directly.

_Source: [https://docs.pytest.org/en/stable/](https://docs.pytest.org/en/stable/)._

### Can pytest run existing unittest test suites without modification?

Yes, pytest can execute unittest and trial test suites natively without requiring any code changes. This allows teams to adopt pytest incrementally while maintaining compatibility with existing test code.

_Source: [https://docs.pytest.org/en/stable/](https://docs.pytest.org/en/stable/)._

### What is pytest's plugin architecture and how extensible is it?

pytest features a robust plugin system with over 1,300 external plugins available that extend its functionality for CI/CD integration, coverage reporting, parallel execution, and other specialized testing needs. This makes pytest highly customizable for different project requirements.

_Source: [https://docs.pytest.org/en/stable/](https://docs.pytest.org/en/stable/)._

### How does pytest automatically discover and run tests?

pytest follows standard Python naming conventions, automatically locating and running test files named test_*.py or *_test.py, and test functions beginning with test_. This automatic discovery eliminates the need for manual test registration or configuration in most cases.

_Source: [https://docs.pytest.org/en/stable/](https://docs.pytest.org/en/stable/)._


## Facts

Every value below carries its source and our confidence. Facts are re-crawled on a freshness schedule.

### adoption

| Attribute | Value | Source | Retrieved | Confidence |
|---|---|---|---|---|
| adoption.package_downloads_weekly | 30,000,000 | [link](https://pypistats.org/packages/pytest) | 2026-07-30 | 85% (high) |
| adoption.github_stars | 12,000 | [link](https://github.com/pytest-dev/pytest) | 2026-07-30 | 90% (high) |
| adoption.stackoverflow_questions | 30,000 | [link](https://stackoverflow.com/questions/tagged/pytest) | 2026-07-30 | 75% (high) |

### activity

| Attribute | Value | Source | Retrieved | Confidence |
|---|---|---|---|---|
| activity.commits_last_30d | 90 | [link](https://github.com/pytest-dev/pytest/pulse) | 2026-07-30 | 70% (medium) |

### release

| Attribute | Value | Source | Retrieved | Confidence |
|---|---|---|---|---|
| release.cadence_days | 30 | [link](https://github.com/pytest-dev/pytest/releases) | 2026-07-30 | 70% (medium) |

### license

| Attribute | Value | Source | Retrieved | Confidence |
|---|---|---|---|---|
| license.spdx | MIT | [link](https://github.com/pytest-dev/pytest/blob/main/LICENSE) | 2026-07-30 | 95% (high) |

### language

| Attribute | Value | Source | Retrieved | Confidence |
|---|---|---|---|---|
| language.primary | Python | [link](https://github.com/pytest-dev/pytest) | 2026-07-30 | 90% (high) |

### pricing

| Attribute | Value | Source | Retrieved | Confidence |
|---|---|---|---|---|
| pricing.model | commercial | [link](https://pytest.org) | 2026-08-05 | 70% (medium) |
| pricing.price_level | free | [link](https://pytest.org) | 2026-08-05 | 60% (medium) |
| pricing.free_tier | yes | [link](https://pytest.org) | 2026-08-05 | 60% (medium) |

### market

| Attribute | Value | Source | Retrieved | Confidence |
|---|---|---|---|---|
| market.availability | `{"source":"https://pytest.org","confidence":0.95,"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | [link](https://pytest.org) | 2026-07-30 | 95% (high) |

### content

| Attribute | Value | Source | Retrieved | Confidence |
|---|---|---|---|---|
| content.faq | `[{"answer":"pytest is a testing framework for Python that enables developers to write simple, readable tests using plain assert statements. It supports everything from basic unit testing to complex functional testing and can automatically discover test files throughout a project directory.","source":"https://docs.pytest.org/en/stable/","question":"What is pytest and what is it primarily used for?","confidence":0.95},{"answer":"pytest is designed exclusively for Python and requires Python 3.10 or later, or PyPy 3. It does not provide testing support for other programming languages.","source":"https://docs.pytest.org/en/stable/","question":"What programming languages does pytest support?","confidence":0.95},{"answer":"pytest is open source software distributed under the MIT license and is completely free to use, modify, and distribute. There is no commercial version or paid tier.","source":"https://github.com/pytest-dev/pytest","question":"What is the license and cost model for pytest?","confidence":0.95},{"answer":"Fixtures are reusable test components that set up preconditions and provide test data through a dependency injection mechanism. They eliminate boilerplate setup and teardown code, improve test clarity by using explicit function parameters, and can be easily parametrized to run tests with multiple data sets.","source":"https://docs.pytest.org/en/stable/fixture.html","question":"What are pytest fixtures and why are they important?","confidence":0.95},{"answer":"pytest uses plain Python assert statements instead of unittest's specialized assertion methods like assertEqual(), provides more detailed introspection into failing assertions, and requires less boilerplate code. Both frameworks can coexist in a project, as pytest can run unittest test suites directly.","source":"https://docs.pytest.org/en/stable/","question":"How does pytest compare to Python's built-in unittest framework?","confidence":0.93},{"answer":"Yes, pytest can execute unittest and trial test suites natively without requiring any code changes. This allows teams to adopt pytest incrementally while maintaining compatibility with existing test code.","source":"https://docs.pytest.org/en/stable/","question":"Can pytest run existing unittest test suites without modification?","confidence":0.94},{"answer":"pytest features a robust plugin system with over 1,300 external plugins available that extend its functionality for CI/CD integration, coverage reporting, parallel execution, and other specialized testing needs. This makes pytest highly customizable for different project requirements.","source":"https://docs.pytest.org/en/stable/","question":"What is pytest's plugin architecture and how extensible is it?","confidence":0.92},{"answer":"pytest follows standard Python naming conventions, automatically locating and running test files named test_*.py or *_test.py, and test functions beginning with test_. This automatic discovery eliminates the need for manual test registration or configuration in most cases.","source":"https://docs.pytest.org/en/stable/","question":"How does pytest automatically discover and run tests?","confidence":0.94}]` | [link](https://docs.pytest.org/en/stable/) | 2026-07-30 | 94% (high) |

---
*Source: Vioscale (https://www.vioscale.ai/software/pytest). Independent, evidence-based software intelligence. Cite the canonical URI.*
