I just wrote a module to run job servers using POE. The source code can be find at http://github.com/woosley/Perl-PJob. The last thing left for me to do is writing some tests for this module. I can write some method tests, but how can I write test for a deamon?
The problem is that: I don't even know how to start. Should I write a script to start a test deamon, and kill this process at the end of the test?