$npx skillfedfor your agent

pytest-spec

Library pytest-spec is a pytest plugin to display test execution output like a SPECIFICATION.

Worth itPyPI LibrariesReleased May 2026212.6K downloads / moGPL-2.0-or-laterPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_spec-6.1.0-py3-none-any.whl
v6.1.0 · released 2026-05-17 · Python >=3.9

Yes. Low install friction, no dependencies, actively maintained, supports modern Python versions, and zero known vulnerabilities. The GPL-2.0-or-later license is the only consideration—verify compatibility with your project's licensing before adopting. Useful for teams that want test output to serve as readable documentation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • pytest must be installed and your tests must be discoverable by pytest.
  • Low install friction with no runtime dependencies.

License · maintenance · safety

GPL-2.0-or-later (copyleft) — Licensed under GPL-2.0-or-later (copyleft). Any derivative work or distribution must comply with GPL-2.0 terms; review your project's license compatibility before adopting.

last release 2026-05-17 (89 days) · last repo commit 2026-05-17 · 116 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 212,637 downloads/mo, #9,452 on PyPI

Verify before relying

pip install pytest-spec

Then run pytest normally:
pytest

Optionally configure in pytest.ini or pyproject.toml:
[tool.pytest.ini_options]
spec_header_format = "{module_path}:"
spec_test_format = "{result} {name}"
  • Whether the plugin works with all pytest plugins or has known incompatibilities.
  • Performance impact on test suites with many tests or complex hierarchies.
Same gist for agents: .md · .json

What it is and what it does

pytest-spec is a pytest plugin that changes how test results are displayed in the terminal. Instead of the default pytest output, it formats results to resemble a specification document, grouping tests by file and class, replacing underscores and test_ prefixes with readable names, and marking pass/fail/skip status with configurable indicators and colors.

The plugin is designed for teams that want test output to double as living documentation. It supports function-based, class-based, and describe-style tests, and allows extensive customization through pytest configuration files (pytest.ini or pyproject.toml) to control header format, test name display, status indicators, indentation, and filtering of unwanted output.

Use it for

  • Display test results as readable specification output during development and CI/CD pipelines.
  • Replace test_ prefixes and underscores with human-readable names automatically in test output.
  • Group and organize test results hierarchically by module, class, and describe blocks.
  • Customize test result indicators (✓, ✗, ») and formatting to match team documentation standards.
  • Filter out noise from other pytest plugins (e.g., FLAKE8, ISORT) in spec output.

Worth the install?

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

Worth it

Yes.

Low install friction, no dependencies, actively maintained, supports modern Python versions, and zero known vulnerabilities. The GPL-2.0-or-later license is the only consideration—verify compatibility with your project's licensing before adopting. Useful for teams that want test output to serve as readable documentation.

Install

pytest-spec on PyPI

Before you install

Low install friction with no runtime dependencies. The package is actively maintained with a recent release (89 days ago) and supports current Python versions (3.9 through 3.14).

Requires Python 3.9 or later. pytest must be installed and your tests must be discoverable by pytest.

License in practice

Licensed under GPL-2.0-or-later (copyleft). Any derivative work or distribution must comply with GPL-2.0 terms; review your project's license compatibility before adopting.

Quickstart

pip install pytest-spec

Then run pytest normally:
pytest

Optionally configure in pytest.ini or pyproject.toml:
[tool.pytest.ini_options]
spec_header_format = "{module_path}:"
spec_test_format = "{result} {name}"

Verify before relying

  • Whether the plugin works with all pytest plugins or has known incompatibilities.
  • Performance impact on test suites with many tests or complex hierarchies.

Package facts

LicenseGPL-2.0-or-later copyleft
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 89 days since the last release
Last repo commit
First released
Downloads212,637 / month, #9,452 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Operating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: LibrariesTopic :: Software Development :: TestingTopic :: Utilities

Evidence: pytest_spec-6.1.0-py3-none-any.whl

Tags

Capabilities
pytest output formattingtest specification displaypytest plugin readable outputcolored test resultstest hierarchy grouping
Topics
test-output-formattingpytest-plugin
PyPI keywords
pytesttestunittestspec

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 › “test specification display”

  • pytest-specpytest-spec is a pytest plugin that reformats test output to display…
  • http-sfvParses and serializes HTTP Structured Field Values according to the…
  • pytest-xvfbA pytest plugin that automatically runs tests with Xvfb (or…

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

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
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
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / 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

See also pytest-pspec · pytest-custom-report · pytest-pytestrail · pytest-run-parallel · pytest-reverse · tdd-guard-pytest · pytest-reporter · pytest-socket · pytest-opentelemetry · pytest-describe