Name : perl-Test-WWW-Mechanize-CGIApp
| |
Version : 0.05
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.6.1
| Date : 2023-01-27 17:49:53
|
Group : Development/Libraries/Perl
| Source RPM : perl-Test-WWW-Mechanize-CGIApp-0.05-lp154.6.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Test::WWW::Mechanize for CGI::Application
|
Description :
This package makes testing CGIApp based modules fast and easy. It takes advantage of the Test::WWW::Mechanize manpage to provide functions for common web testing scenarios. For example:
$mech->get_ok( $page ); $mech->title_is( \"Invoice Status\", \"Make sure we\'re on the invoice page\" ); $mech->content_contains( \"Andy Lester\", \"My name somewhere\" ); $mech->content_like( qr/(cpan|perl)\\.org/, \"Link to perl.org or CPAN\" );
For applications that inherit from CGI::Application it will handle requests by creating a new instance of the class and calling its \'run\' method. For applications that use CGI::Application::Dispatch it will call the \'dispatch\' class method. If neither of these options are the right thing, you can set a reference to a sub that will be used to handle the request.
This module supports cookies automatically.
Check out the Test::WWW::Mechanize manpage for more information about all of the cool things you can test!
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.4/noarch |