queue-worker-test

Installation
SKILL.md

Queue Worker Test

Generates tests for background job processors — verifying job execution, retry semantics, failure handling, and side effects without depending on a live queue broker.


Phase 1: Discovery

Extract before writing:

  1. Queue library — BullMQ, Bull (v3), SQS consumer, custom polling loop, or other?
  2. Test runner — Jest or Vitest?
  3. What the worker does — what side effects does a successful job produce? (DB write, HTTP call, email, etc.)
  4. Retry config — how many attempts? backoff strategy? Is it library-managed or custom?
  5. Failure behavior — does the worker move jobs to a dead-letter queue, emit an event, or just log?
  6. Concurrency — does the worker process jobs in parallel? (affects test isolation approach)
  7. Existing test infrastructure — is there already a DB test setup, mock HTTP layer, or job factory?

Related skills

More from blunotech-dev/agents

Installs
1
GitHub Stars
2
First Seen
Apr 22, 2026