{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"pytest-celery is the official pytest plugin for Celery that enables testing of Celery applications using Docker-based environments to simulate production-like conditions, alongside traditional unit and integration testing APIs.","skillfed_tags":["celery","distributed-testing","docker-based"],"use_cases":["Test Celery tasks in isolated Docker containers to verify behavior in production-like conditions before deployment.","Write integration tests that spin up temporary Celery workers and brokers to validate task execution and message flow.","Debug Celery application issues by running tests with debugpy attached to worker processes inside containers.","Validate task retries, error handling, and signal handlers in a controlled Docker environment.","Test multiple Celery workers and broker configurations without manual setup or teardown."],"what_it_does":"pytest-celery is the official testing plugin for Celery, the distributed task queue framework. It provides pytest fixtures and utilities to test Celery applications in two modes: traditional unit and integration testing via the celery.contrib.pytest API, and a newer Docker-based approach (introduced in version 1.0.0+) for smoke and production-like testing. The Docker-based methodology lets you spin up isolated Celery workers and brokers in containers, making it possible to test your tasks and application logic in environments that closely mirror production without affecting existing tests.\n\nThe plugin depends on celery, docker, kombu, debugpy, psutil, tenacity, and pytest-docker-tools. It supports Python 3.9 through 3.14 and is actively maintained. The low-friction install and production-stable status make it a straightforward addition to Celery-based projects that need comprehensive test coverage.","worth_installing":"Yes, if you are testing a Celery application. pytest-celery is the official plugin, actively maintained, production-stable, and has no known vulnerabilities. The Docker-based testing approach (1.0.0+) is a significant enhancement for production-like validation. Low install friction and permissive licensing make it a straightforward choice for any Celery project."},"id":"pytest-celery","links":{"html":"https://skillfed.io/packages/pytest-celery","md":"https://skillfed.io/packages/pytest-celery.md","pypi":"https://pypi.org/project/pytest-celery/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-02","license_spdx":null,"license_treatment":"permissive","name":"pytest-celery","python_support":"supports_current","summary":"Pytest plugin for Celery"},"popularity":{"monthly_downloads":1859167,"position":3485,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.3.0"}
