On Tue, Jul 31, 2007 at 12:33:52PM +0400, Ivan Fomichev wrote:
Hello,
I intend to write a script, that would start the test server as a
child process and then run tests.
Why not just use Test::WWW::Mechanize::Catalyst which embeds a server instance
in the test script?
Using the test server
Hello,
I intend to write a script, that would start the test server as a
child process and then run tests. The thing I'm failing to do is to
get output from the test server in order to determine, when the server
has started.
The problem is that test server doesn't print its prompt (You can
: [Catalyst] Test server as a child process
Hello,
I intend to write a script, that would start the test server as a
child process and then run tests. The thing I'm failing to do is to
get output from the test server in order to determine, when the server
has started.
The problem is that test server
On Tue, 2007-07-31 at 12:33 +0400, Ivan Fomichev wrote:
Hello,
I intend to write a script, that would start the test server as a
child process and then run tests. The thing I'm failing to do is to
get output from the test server in order to determine, when the server
has started.
The
2007/7/31, Peter Edwards [EMAIL PROTECTED]:
Try using IPC::Run. I can see the You can connect message when using it to
run scripts/myapp_server.pl (I guess it goes through ptys?)
I've found the root of the evil.
IPC::Run won't help here :-(
The pipe is not autoflushed.
If you put '$|++' in
On Jul 31, 2007, at 7:15 AM, Ivan Fomichev wrote:
2007/7/31, Peter Edwards [EMAIL PROTECTED]:
Try using IPC::Run. I can see the You can connect message when
using it to
run scripts/myapp_server.pl (I guess it goes through ptys?)
I've found the root of the evil.
IPC::Run won't help here :-(