A Drupal queue runner trait for use with Drupal Test Traits.

Installs: 3 961

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 0

Open Issues: 0


v1.0.0 2019-08-22 22:26 UTC

This package is auto-updated.

Last update: 2021-09-29 02:36:17 UTC


Provides a trait for use with the Drupal Test Traits library.

Build Status


composer require --dev drupaltest/queue-runner-trait


class SampleTestWithQueueRunner extends ExistingSiteBase
    use QueueRunnerTrait;

    protected function tearDown()
        // Empty a given queue after the test has finished.

    public function testSomeQueue()
        // Do something that adds an item to a queue.
        // Run the queue by name.

See the included test for a detailed example.