Package perl-Test-WWW-Mechanize: Information
Source package: perl-Test-WWW-Mechanize
Version: 1.52-alt1
Build time: Dec 8, 2018, 04:20 AM in the task #217522
Category: Development/Perl
Report package bugLicense: Artistic
Summary: Test-WWW-Mechanize - Testing-specific WWW::Mechanize subclass
Description:
Test::WWW::Mechanize is a subclass of WWW::Mechanize that incorporates features for web application testing. 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" ); This is equivalent to: $mech->get( $page ); ok( $mech->success ); is( $mech->title, "Invoice Status", "Make sure we're on the invoice page" ); ok( index( $mech->content, "Andy Lester" ) >= 0, "My name somewhere" ); like( $mech->content, qr/(cpan|perl)\.org/, "Link to perl.org or CPAN" ); but has nicer diagnostics if they fail.
Maintainer: Vitaly Lipatov
Last changed
Dec. 7, 2018 Igor Vlasenko 1.52-alt1
- automated CPAN update
April 19, 2018 Igor Vlasenko 1.50-alt1
- automated CPAN update
Jan. 14, 2017 Igor Vlasenko 1.48-alt1
- automated CPAN update