Test::Apache2 0.03 and 0.04
This week, I released Test::Apache2 0.03 and 0.04. It’s still unstable, but useful for my business.
What’s New
In 0.02, both conversion of HTTP::Request to Test::Apache2::RequestRec and conversion of it to HTTP::Response, that is a task of Test::Apache2::Server.
But now, Test::Apache2::RequestRec->new takes HTTP::Request object.
my $req = HTTP::Request->new; ... my $request_rec = Test::Apache2::RequestRec->new($req);
And Test::Apache2::RequestRec#to_response returns HTTP::Response object.
my $request_rec = Test::Apache2::RequestRec->new(...); ... my $resp = $request_rec->to_response;
So you can use Test::Apache2::RequestRec without Test::Apache2::Server more easily.
Module::Install::Repostory 0.05 supports Mercurial
Test::Apache2 now uses Module::Install, not Module::Build. Because Module::Install::Repository 0.05 supports Mercurial (and Bitbucket).
I wrote a little patch at GitHub and Miyagawa-san applied it. Thank you!