vlad_s has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I have a POE-based asynchronous I/O class that does the following:
I'm trying to find out how to write a test script that would test that my generated events are fired correctly.
Ideally I would like to be able to feed my class line by line and after each line verify that the correct events have been fired.
I have used POE::Test::Helpers in the past, but I fail to see how this class could help me perform this line-by-line feeding trick.
Any ideas will be greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Test scripts for POE
by rcaputo (Chaplain) on Jan 17, 2012 at 13:36 UTC | |
by vlad_s (Novice) on Jan 17, 2012 at 17:18 UTC | |
|
Re: Test scripts for POE
by vlad_s (Novice) on Jan 17, 2012 at 12:54 UTC |