I am building something similar to BBC Zeitgeist. Basically it's a series of workers passing jobs to each other.
If I'm doing this by hand, here's what I'll do:
- Setup some parameters
- Run the workers
- Start the initial worker
- Wait for the workers to do their jobs
- Test the outcome
For the background job workers, I'm using Resque.
I'm lost on how I should write integration tests for it. What I have in mind right now is something like this.
Any ideas and pointers?