Click here to get back home

Start server for test ?

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Start server for test ? Kaare Rasmussen 05-16-2005
Posted by Kaare Rasmussen on May 16, 2005, 12:52 pm
Please log in for more thread options


Hi

I've written some tests for my shining new server - so 'Build test' has
something to do.

Yes, I use Module::Build and Test::more.

Problem is, how do I start the server as a daemon and kill it when the
client tests are run?

In production I'd just run it with

perl -MBusiness::Bof::Server::CLI -e run -- -c t/bof.xml &

and kill it when it hs lived long enough. But this doesn't work in a Build
test.

Any ideas to daemonize the server with the test in Module::Build (and store
the pid somewhere so I can kill it again)?



Similar ThreadsPosted
Start an Event when a Session ends December 20, 2004, 5:57 pm
H Start your own business doing affiliate work. H$OU,lh_ January 2, 2005, 12:41 am
Win32::Service Determining which are set to start automatically July 12, 2004, 10:14 am
HTTP::Proxy - how to detect start and end of URL fetch September 26, 2004, 6:00 am
Start printing at the end of the previous line in Perl July 18, 2006, 10:51 am
hiding Win32::SerialPort->start( ... ) error messages April 19, 2005, 2:27 am
Net::Server -> tftpd ? May 28, 2006, 6:21 am
TACACS+ with Cisco ACS server 3.2 August 6, 2004, 10:26 am
Serialization by SOAP server July 7, 2006, 8:37 am
Net::Server - how to hook post_accept August 20, 2006, 6:27 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap