Hi all,

I started writing a SIP client using POE, and after initially struggling with the docu, POE really is helpful and actually fun, and my program grew alot ... Now I'm starting to wonder how to test it. The most obvious way would be to call event handlers, and checking if they are sending the expected events. To have more complex tests, it would be good to test with more than one session active, i.e. stimulating the one session by calling a handler and testing if the second session generates events. In this case the POE kernel should work at least partly.

Obviously I could do my tests by writing wrappers around all $kernel->post, yield, delay, ... calls, and put my test hooks into the wrappers, and have sort of flags specifying which events should be delivered by the kernel.... . But maybe there is a more convenient way? Does POE have sort of testing support for its applications?

Thanks for your help!

Regards, Conny
--
I'm looking for a job! Specially in telecommunication software development, testing, design, management ... preferably contract, in germany or somewhere nice. Anyone able to help, please contact me via http://holzhey.de, thanks.

Reply via email to