pytest plugin for managing a GCP Pub/Sub emulator during test sessions. Use when: (1) Writing tests for code that publishes or subscribes to Google Cloud Pub/Sub topics, (2) Needing a real Pub/Sub emulator (via gcloud) managed automatically by pytest, (3) Adding pytest fixtures for Pub/Sub publisher or subscriber clients, (4) Configuring Pub/Sub emulator host/port/project in pytest, (5) Running Pub/Sub tests in parallel with pytest-xdist, (6) Writing async tests against Pub/Sub with pytest-asyncio, (7) A project depends on pytest-gcppubsub.
2026-02-18