My new project: Test::Apache2

2009-04-29 20:46

It’s hard to test mod_perl handler. Because some mod_perl related class (ex. Apache2::RequestRec) can’t be created easily under plain Perl environment.

My predecessor wrote a test that uses real Apache with hard-coded hostname and port number. However I don’t like the way because it’s troublesome to run. And Daisuke Maki-san introduced Apache::Test and said “超絶簡単。”. But I think it’s complicated, not easy for me.

We really need REAL APACHE?

We really need to run real Apache for testing mod_perl handler? My answer is no. So I’m writing Test::Apache2, easy and fast test harness of mod_perl handler.

Test::Apache2 still unstable and not documented. Please wait a moment.

Leave a Reply