You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not able to find much documentation around the topic of how to test that jobs are added to queues with correct data. It looks like the HTTP API may be useful for getting at this data, but that seems like a roundabout way to get at some testing support. Sidekiq has some nice support for testing: https://github.com/mperham/sidekiq/wiki/Testing#setup ... are there plans on the kue roadmap for adding this sort of functionality? Would you be open to a PR on this topic? Thanks!
The text was updated successfully, but these errors were encountered:
@epicbagel It doesn't currently run the jobs.. We could build a feature similar to Sidekiq's Worker.drain —perhaps kue.drain(jobName)— to manually process any jobs waiting in the queue?
I'm not able to find much documentation around the topic of how to test that jobs are added to queues with correct data. It looks like the HTTP API may be useful for getting at this data, but that seems like a roundabout way to get at some testing support. Sidekiq has some nice support for testing: https://github.com/mperham/sidekiq/wiki/Testing#setup ... are there plans on the kue roadmap for adding this sort of functionality? Would you be open to a PR on this topic? Thanks!
The text was updated successfully, but these errors were encountered: