http://www.perlmonks.org?node_id=1013387


in reply to testing http server

You don't need another testing framework, just read Test::More and use

 eval  { $mech->get.... }; is( $mech->res->code, 500 ); or some such