I typically move all my interesting worker code to a separate helper class, leaving the worker as a simple stub that calls that helper. You can then unit test the helper, without having any dependencies on BDRb
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
BackgrounDRb 1.0 pre-release available now | 11 | 163 | December 29, 2007 | |
How to test background jobs? | 0 | 128 | October 13, 2009 | |
Backgroundrb works well on windows but failed on CentOS... | 0 | 137 | September 15, 2006 | |
BackgrounDRb release 1.0 available now | 1 | 196 | December 17, 2007 | |
Backgroundrb: No such worker | 2 | 109 | September 13, 2009 |