jeteve has asked for the wisdom of the Perl Monks concerning the following question:
I've recently written a package that is meant to be used in the apache2/mod_perl2/apreq2 (that's a lot of two's) environment: Apache2::REST
I'd like to implement some more tests for it and my basic thoughts are:
Write some test scripts that seeks for the apachectl command, produce a standalone apache conf file, launch it, test it, stop it. Of course the test would fail if one of apache2/mod_perl2/apreq2 is missing on the target system. Well.. this last point is also guaranteed by the dependencies anyway.
Although I'm pretty sure this is the right approach, I'm concerned about the CPAN testing farm (I don't want this package to end up with 0% of test passes). Do you know if they provide such an environment?
Cheers!!
-- Jerome Eteve
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Implement tests that depends on apache/mod_perl2/apreq2
by zwon (Abbot) on Feb 03, 2010 at 18:25 UTC |