in reply to Test scripts for POE
My current thinking is to fork a child that would host the ReadWrite session and to modify the class so that events are fired not through POE, but rather written out in stringified manner to STDOUT.
In that case the testing logic run in the parent process can read those stringified events from STDIN and verify they're correct.
Or is it too complicated? Perhaps there's an easier way out?
|
|---|