$npx skillfedfor your agent

pytest-rabbitmq

RabbitMQ process and client fixtures for pytest

Worth itPyPI Python ModulesReleased Mar 2026108.8K downloads / mocopyleft licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_rabbitmq-4.0.0-py3-none-any.whl
v4.0.0 · released 2026-03-22 · Python >=3.10 · 4 runtime deps: pytest, port-for, mirakuru, pika

Yes. The plugin is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real testing need for RabbitMQ-dependent code. The LGPLv3+ license is permissive for most use cases. The main blocker is the requirement to have RabbitMQ binaries available on the test machine; if your CI environment already provides RabbitMQ or you can install it easily, this is a straightforward win for test reliability.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • RabbitMQ must be installed on the test machine; the plugin expects rabbitmq-server and rabbitmqctl binaries at /usr/lib/rabbitmq/bin/ (Linux default) or configured paths.
  • Low install friction with four runtime dependencies (pytest, port-for, mirakuru, pika).
  • Actively maintained; last commit 2026-08-10 with 51 repository stars.

License · maintenance · safety

copyleft license (copyleft) — Licensed under LGPLv3+, a copyleft license. You may use and modify the package freely, but any derivative works must also be licensed under compatible terms. Suitable for most open-source and commercial projects, though closed-source modifications require careful compliance review.

last release 2026-03-22 (145 days) · last repo commit 2026-08-10 · 51 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 108,779 downloads/mo, #12,540 on PyPI

Verify before relying

pip install pytest-rabbitmq

# In your test file:
def test_with_rabbitmq(rabbitmq):
    assert rabbitmq is not None
  • Whether the plugin automatically discovers RabbitMQ on non-Linux systems or requires explicit path configuration.
  • Performance characteristics when running multiple test sessions with different RabbitMQ instances.
  • Compatibility with containerized RabbitMQ or remote broker instances beyond localhost.
Same gist for agents: .md · .json

What it is and what it does

pytest-rabbitmq is a pytest plugin that automates the setup and teardown of a local RabbitMQ broker for test suites. It provides two main fixtures: rabbitmq_proc, which starts a RabbitMQ instance at the beginning of a test session and stops it at the end, and rabbitmq, a client fixture that connects to the broker and automatically cleans up queues and exchanges after each test to maintain isolation.

The plugin handles the complexity of spawning and managing a RabbitMQ process, discovering available ports, and configuring broker paths—all configurable via fixture arguments, command-line options, or pytest.ini settings. It depends on pytest, pika (the RabbitMQ client library), mirakuru (for process management), and port-for (for port discovery). Requires Python 3.10 or later and an installed RabbitMQ server on the test machine.

Use it for

  • Write integration tests for message queue consumers and producers without mocking the broker.
  • Test RabbitMQ-dependent microservices in isolation with a fresh broker state per test.
  • Validate queue and exchange configurations in your application before deployment.
  • Run CI/CD pipelines that need a temporary RabbitMQ instance without external service dependencies.
  • Develop and test AMQP protocol implementations with a real broker available during test execution.

Worth the install?

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

Worth it

Yes.

The plugin is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real testing need for RabbitMQ-dependent code. The LGPLv3+ license is permissive for most use cases. The main blocker is the requirement to have RabbitMQ binaries available on the test machine; if your CI environment already provides RabbitMQ or you can install it easily, this is a straightforward win for test reliability.

Install

pytest-rabbitmq on PyPI

Before you install

Low install friction with four runtime dependencies (pytest, port-for, mirakuru, pika). Actively maintained; last commit 2026-08-10 with 51 repository stars. Supports current Python versions (3.10–3.14).

RabbitMQ must be installed on the test machine; the plugin expects rabbitmq-server and rabbitmqctl binaries at /usr/lib/rabbitmq/bin/ (Linux default) or configured paths.

License in practice

Licensed under LGPLv3+, a copyleft license. You may use and modify the package freely, but any derivative works must also be licensed under compatible terms. Suitable for most open-source and commercial projects, though closed-source modifications require careful compliance review.

Quickstart

pip install pytest-rabbitmq

# In your test file:
def test_with_rabbitmq(rabbitmq):
    assert rabbitmq is not None

Verify before relying

  • Whether the plugin automatically discovers RabbitMQ on non-Linux systems or requires explicit path configuration.
  • Performance characteristics when running multiple test sessions with different RabbitMQ instances.
  • Compatibility with containerized RabbitMQ or remote broker instances beyond localhost.

Package facts

Licensecopyleft license copyleft
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
pytestport-formirakurupika
MaintenanceActively maintained 145 days since the last release
Last repo commit
First released
Downloads108,779 / month, #12,540 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)Natural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming 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.14Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Testing

Evidence: pytest_rabbitmq-4.0.0-py3-none-any.whl

Tags

Capabilities
pytest rabbitmq fixturesrabbitmq test brokermessage queue testingpytest message brokerrabbitmq integration teststest rabbitmq locallypytest amqp fixtures
Topics
pytest-pluginmessage-queue-testingintegration-testing
PyPI keywords
testspytestfixturerabbitmqmesssage queue

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 rabbitmq fixtures”

  • pytest-rabbitmqA pytest plugin that provides fixtures to start and manage a local…
  • pytest-unused-fixturesA pytest plugin that identifies and reports fixtures defined in your…
  • pytest-factoryboyIntegrates factory_boy with pytest to register factories as fixtures,…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also pytest-grpc · pytest-redis · pytest-spark · pytest-postgresql · pytest-mysql · pytest-localftpserver · pytest-shutil · pytest-qt · pytest-deadfixtures · pytest-homeassistant-custom-component