1. Docs
  2. Testing
  3. Behavioral

9 checks · complete consumer outcomes

Describe the situation. Verify the outcome.

Behavioral checks cross several queue operations to prove realistic user journeys: serialized ownership, dependency gates, atomic producer rejection, stale-reference-safe clearing, auto-run recovery, explicit hand-offs, independent queues, reprioritization, and the native no-bundler package entry.

Exact inventory

All 9 Behavioral checks.

Functional checks own focused feature transitions. These scenarios begin with a consumer situation and finish only after the complete externally observable outcome is verified.

  1. serial jobs do not overlap before each owner releases the queue
  2. reopening a dependency lets the next producer start buffered work in arrival order
  3. a rejected producer batch leaves existing backlog runnable
  4. clearing backlog detaches stale contents references
  5. a default auto-run failure leaves later work recoverable
  6. returned values and fulfilled promises wait for explicit hand-off
  7. an occupied queue does not block work on another queue
  8. pending work can be reprioritized before dispatch
  9. given the native no-bundler entry when declared work runs then observable orders complete

Run this layer

Behavioral only, or the complete suite.

npm run test:behavioral
npm test