Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 74bccbfbf494f703bb9daaa5235ec26b

perl-Test-WWW-Mechanize-Mojo-0.0.11-2.mga3.src.rpm

Description:

the Mojo manpage is an MVC Web Application Framework. the
Test::WWW::Mechanize manpage is a subclass of the WWW::Mechanize manpage
that incorporates features for web application testing. The the
Test::WWW::Mechanize::Mojo manpage module meshes the two to allow easy
testing of the Mojo manpage applications without needing to starting up a
web server.

Testing web applications has always been a bit tricky, normally requiring
starting a web server for your application and making real HTTP requests to
it. This module allows you to test the Mojo manpage web applications but
does not require a server or issue HTTP requests. Instead, it passes the
HTTP request object directly to the Mojo manpage. Thus you do not need to
use a real hostname: "http://localhost/" will do. However, this is
optional. The following two lines of code do exactly the same thing:

$mech->get_ok('/action');
$mech->get_ok('http://localhost/action');

Generated packages:

Other version of this rpm: