Package perl-Test-WWW-Mechanize: Information
Source package: perl-Test-WWW-Mechanize
Version: 1.44-alt1
Build time: Sep 25, 2012, 02:24 AM
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
Sept. 24, 2012 Igor Vlasenko 1.44-alt1
- automated CPAN update
Sept. 19, 2011 Igor Vlasenko 1.34-alt1
- automated CPAN update
July 13, 2010 Igor Vlasenko 1.30-alt1
- automated CPAN update