Skip to content

Implements a comprehensive TestSuite for the Queue plugin.#180

Merged
LordSimal merged 4 commits intocakephp:2.xfrom
skie:feature/queue-testsuite
Mar 26, 2026
Merged

Implements a comprehensive TestSuite for the Queue plugin.#180
LordSimal merged 4 commits intocakephp:2.xfrom
skie:feature/queue-testsuite

Conversation

@skie
Copy link
Copy Markdown
Member

@skie skie commented Dec 30, 2025

Queue Plugin TestSuite Implementation

Summary

Implements a comprehensive TestSuite for the Queue plugin that allows developers to test queued jobs without connecting to a real queue backend.

@markstory markstory added this to the 2.next milestone Dec 31, 2025
@markstory markstory added the enhancement New feature or request label Dec 31, 2025
*
* Captures messages instead of sending them to a queue.
*/
class TestProducer implements Producer
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would we be able to re-use any of the null objects from enqueue?

@LordSimal
Copy link
Copy Markdown
Contributor

@skie anything else you want to be added or adjusted here? Otherwise I will release this

@skie
Copy link
Copy Markdown
Member Author

skie commented Mar 26, 2026

No, I beleave it ready to merge.

@LordSimal LordSimal merged commit c1f38ee into cakephp:2.x Mar 26, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants