Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • you should think about integrating Apache-Test now before mod_parrot gets too big. ping me if you need help.
    • Integrating Apache-Test BEFORE mod_parrot gets too big? BRILLIANT!

      I'll be sure to ping you, as the only experience I have with it is from your talks.

    • Won't he need Parrot's Test::Builder first? I mean, it'll be there eventually, but I need one new opcode first....

      • not necessarily.

        conceptually there are two parts to Apache-Test, the client-side *.t tests that act as the browser, and (if you're running mod_perl) the server-side *.pm tests.

        at this point in mod_parrot, I would guess that development is being done by writing some glue code then writing some kind of parrot handler that calls ap_rputs and testing that code with a browser. most of that process can be turned over to Apache-Test, both easing development and forming the start of a test framework. when
        • I like beer. :)
        • I did some reading on Apache::Test and got off to a good start:

          [jeff@groovy mod_parrot]$ make test
          /usr/local/perl/5.8.5-shared/bin/perl t/TEST t/*.t
          [warning] setting ulimit to allow core files
          ulimit -c unlimited; /usr/local/perl/5.8.5-shared/bin/perl /one/home/jeff/build/mod_parrot/t/TEST 't/01RequestRec.t'
          /usr/local/apache2/bin/httpd -d /one/home/jeff/build/mod_parrot/t -f /one/home/jeff/build/mod_parrot/t/conf/httpd.conf -D APACHE2
          using Apache/2.0.50 (prefork MPM)

          waiting 60 seconds for server to start:

      • Which opcode? (And if you really need it you can always buy one off of Damian -- As I remember he has two he bought at auction a YAPC::EU or two back...)