Package : perl-Test-WWW-Mechanize-PSGI > RPM : perl-Test-WWW-Mechanize-PSGI-0.390.0-3.mga9.src.rpm
Basic items
Name | perl-Test-WWW-Mechanize-PSGI |
Version | 0.390.0 |
Release | 3.mga9 |
URL | https://metacpan.org/release/Test-WWW-Mechanize-PSGI |
Group | Development/Perl |
Summary | Test PSGI programs using WWW::Mechanize |
Size | 29KB |
Arch | noarch |
License | GPL+ or Artistic |
Description
the PSGI manpage is a specification to decouple web server environments
from web application framework code. 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::PSGI manpage module
meshes the two to allow easy testing of the PSGI manpage applications.
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 PSGI manpage web applications but
does not require a server or issue HTTP requests. Instead, it passes the
HTTP request object directly to the PSGI 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');
from web application framework code. 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::PSGI manpage module
meshes the two to allow easy testing of the PSGI manpage applications.
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 PSGI manpage web applications but
does not require a server or issue HTTP requests. Instead, it passes the
HTTP request object directly to the PSGI 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');
Media information
Distribution release | Mageia cauldron |
Media name | core-release |
Media arch | x86_64 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2022-03-21 06:05:03 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |