$npx skillfedfor your agent

pytest-cookies

The pytest plugin for your Cookiecutter templates. 🍪

With conditionsPyPI TestingReleased Mar 202393.5K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_cookies-0.7.0-py3-none-any.whl
v0.7.0 · released 2023-03-22 · Python >=3.7 · 2 runtime deps: cookiecutter, pytest

Yes, if you maintain a cookiecutter template and need to test it—the plugin is straightforward and has no known vulnerabilities. However, proceed with caution: the package is in abandoned maintenance with no releases since 2023-03-22. If you encounter bugs or compatibility issues with newer pytest or cookiecutter versions, you may need to fork or patch it yourself.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with just two runtime dependencies.
  • However, the package is in abandoned maintenance status with no releases since 2023-03-22, though the repository remains active.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2023-03-22 (1241 days) · last repo commit 2023-07-10 · 189 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 93,479 downloads/mo, #13,383 on PyPI

Verify before relying

pip install pytest-cookies

# In your test file:
def test_bake_project(cookies):
    result = cookies.bake(extra_context={"repo_name": "helloworld"})
    assert result.exit_code == 0
    assert result.project_path.is_dir()
  • Whether the package remains compatible with current versions of pytest and cookiecutter despite no releases since 2023-03-22
  • Whether abandonment status means critical bugs or security issues will not be addressed going forward
Same gist for agents: .md · .json

What it is and what it does

pytest-cookies is a pytest plugin that wraps the cookiecutter API into a reusable `cookies` fixture for testing cookiecutter project templates. When you call `cookies.bake()`, it generates a new project from your template using default values from `cookiecutter.json`, optionally overriding them with `extra_context` to test different input scenarios. The fixture automatically cleans up generated projects after tests complete, keeping your test environment tidy.

The plugin depends on pytest and cookiecutter as runtime dependencies. It supports Python 3.7 through 3.11 and is classified as Production/Stable. The package has been in development since 2015 but has entered abandoned maintenance with no releases since 2023-03-22, though the repository has not been archived.

Use it for

  • Verify that a cookiecutter template generates valid project structures with expected file layouts and naming conventions.
  • Test template rendering by injecting custom context values and asserting the output contains correct variable substitutions.
  • Validate that cookiecutter templates work correctly across different Python versions and operating systems in CI/CD pipelines.
  • Ensure template validation rules and default values produce sensible projects without manual intervention.

Worth the install?

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

With conditions

Yes, if you maintain a cookiecutter template and need to test it—the plugin is straightforward and has no known vulnerabilities.

However, proceed with caution: the package is in abandoned maintenance with no releases since 2023-03-22. If you encounter bugs or compatibility issues with newer pytest or cookiecutter versions, you may need to fork or patch it yourself.

Install

pytest-cookies on PyPI

Before you install

Low install friction with just two runtime dependencies. However, the package is in abandoned maintenance status with no releases since 2023-03-22, though the repository remains active.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install pytest-cookies

# In your test file:
def test_bake_project(cookies):
    result = cookies.bake(extra_context={"repo_name": "helloworld"})
    assert result.exit_code == 0
    assert result.project_path.is_dir()

Verify before relying

  • Whether the package remains compatible with current versions of pytest and cookiecutter despite no releases since 2023-03-22
  • Whether abandonment status means critical bugs or security issues will not be addressed going forward

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
cookiecutterpytest
MaintenanceAbandoned 1,241 days since the last release
Last repo commit
First released
Downloads93,479 / month, #13,383 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Testing

Evidence: pytest_cookies-0.7.0-py3-none-any.whl

Tags

Capabilities
pytest cookiecutter template testingtest cookiecutter templatespytest plugin for templatescookiecutter project generation testingtemplate validation pytest
Topics
cookiecuttertemplate-testingpytest-plugin
PyPI keywords
cookiecutterpytest

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 › “pytest cookiecutter template testing”

  • pytest-cookiesA pytest plugin that provides a `cookies` fixture for testing…
  • cruftcruft creates new projects from Cookiecutter templates and keeps them…
  • jinja2-strcaseAdds string-case conversion filters to Jinja2 templates, enabling…

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 pytest-logging · cookiecutter · pytest-xml · cruft · pytest-regressions · pytest-subtests · pytest-datadir · pytest-error-for-skips · pytest-freezegun · pytest-custom-exit-code