-
Notifications
You must be signed in to change notification settings - Fork 9
Testing
Code Slicer edited this page Jun 10, 2022
·
3 revisions
Proper automated testing is on our roadmap, but until then you can quickly test the queue using the magerun dev:console like this:
bin/magerun2 '$di->create(Discorgento\Queue\Test\Append::class)->append(); exit'
This will generate 10 demo jobs (that do nothing, only have a 1 sec delay to make the progress bar gorgeous as it should be) with 50% chance rate of success/failure.
Then you can run them normally with our cli:
bin/magento di:qu:ex
Result:
We want YOU for our community 🫵