$npx skillfedfor your agent

parameterized

Parameterized testing with any Python test framework

With conditionsPyPI TestingReleased Mar 202321.1M downloads / moFreeBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — parameterized-0.9.0-py2.py3-none-any.whl
v0.9.0 · released 2023-03-27 · Python >=3.7

Yes, if you use unittest, nose, or pytest 3 and want to reduce test boilerplate. The package is stable and has no dependencies. However, maintenance is dormant with the last release on 2023-03-27, so compatibility with future Python versions is uncertain. Check the compatibility table for your specific test framework and Python version before relying on it for new projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or later.
  • Some test frameworks have known compatibility gaps (e.g., pytest 4, pytest fixtures, nose with Python 3.10 or 3.11)—check the compatibility table in the documentation.
  • Low friction installation with no runtime dependencies.

License · maintenance · safety

FreeBSD (permissive) — FreeBSD license is permissive, allowing commercial and private use with minimal restrictions. No notable licensing constraints for most projects.

last release 2023-03-27 (1236 days) · last repo commit 2024-08-18 · 856 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 21,140,902 downloads/mo, #1,010 on PyPI

Verify before relying

pip install parameterized

from parameterized import parameterized
import unittest

class TestExample(unittest.TestCase):
    @parameterized.expand([
        ("case1", 2, 4),
        ("case2", 3, 9),
    ])
    def test_square(self, name, input_val, expected):
        self.assertEqual(input_val ** 2, expected)
  • Whether dormant maintenance will affect compatibility with Python versions beyond 3.11
  • Current state of known compatibility issues with pytest 4 and pytest fixtures (issue #34, #81)
  • Whether the package will receive updates for future Python releases
Same gist for agents: .md · .json

What it is and what it does

Parameterized is a decorator library that lets you write a single test function and run it against multiple sets of inputs, eliminating repetitive test code. It works across nose, pytest, unittest, and other test runners, generating separate test cases for each parameter set so they appear as distinct tests in your test output.

The package provides two main decorators: @parameterized for standalone test functions and @parameterized.expand for test methods within classes. You pass a list of tuples, param objects, or a callable that returns test cases, and the decorator automatically generates individual test cases. It has no runtime dependencies and installs with minimal friction, making it a lightweight addition to any test suite.

Use it for

  • Test the same logic across multiple input values (e.g., testing a math function with different numbers) without writing duplicate test methods.
  • Generate test cases from external data sources like JSON files or CSV data by passing a callable that loads and returns test parameters.
  • Test class behavior with different initial states by using @parameterized_class to instantiate a test class multiple times with different attributes.
  • Improve test readability and maintainability by centralizing test data in one place rather than scattering it across multiple test methods.
  • Integrate parameterized tests into existing unittest, pytest, or nose test suites without changing the test runner or project structure.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use unittest, nose, or pytest 3 and want to reduce test boilerplate.

The package is stable and has no dependencies. However, maintenance is dormant with the last release on 2023-03-27, so compatibility with future Python versions is uncertain. Check the compatibility table for your specific test framework and Python version before relying on it for new projects.

Install

parameterized on PyPI

Before you install

Low friction installation with no runtime dependencies. Maintenance is dormant—last release was 2023-03-27 over a year ago—but the package is stable and widely used in the top 5000 PyPI packages. No active development signal, so expect no new features or rapid bug fixes.

Requires Python 3.7 or later. Some test frameworks have known compatibility gaps (e.g., pytest 4, pytest fixtures, nose with Python 3.10 or 3.11)—check the compatibility table in the documentation.

License in practice

FreeBSD license is permissive, allowing commercial and private use with minimal restrictions. No notable licensing constraints for most projects.

Quickstart

pip install parameterized

from parameterized import parameterized
import unittest

class TestExample(unittest.TestCase):
    @parameterized.expand([
        ("case1", 2, 4),
        ("case2", 3, 9),
    ])
    def test_square(self, name, input_val, expected):
        self.assertEqual(input_val ** 2, expected)

Verify before relying

  • Whether dormant maintenance will affect compatibility with Python versions beyond 3.11
  • Current state of known compatibility issues with pytest 4 and pytest fixtures (issue #34, #81)
  • Whether the package will receive updates for future Python releases

Package facts

LicenseFreeBSD permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 1,236 days since the last release
Last repo commit
First released
Downloads21,140,902 / month, #1,010 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3

Evidence: parameterized-0.9.0-py2.py3-none-any.whl

Tags

Capabilities
parameterized testing decoratortest multiple inputs same functionpytest parameterize alternativeunittest test data drivennose parameterized testsdata-driven testing pythontest case generation
Topics
test-utilitiesdata-driven-testing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “parameterized testing decorator”

  • parameterizedParameterized testing decorator that works with nose, pytest,…
  • parametrizeProvides a `@parametrize` decorator that works with…
  • ddtddt multiplies a single test case across multiple datasets, letting…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also ddt · parametrize · unittest-parametrize · testscenarios · allpairspy · nose2 · nose-py3 · pytest-cases · param · pynose