Package perl-Test-WWW-Mechanize: Information
Source package: perl-Test-WWW-Mechanize
Version: 1.30-alt1
Build time: Jul 14, 2010, 06:44 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
July 13, 2010 Igor Vlasenko 1.30-alt1
- automated CPAN update
Dec. 2, 2008 Vitaly Lipatov 1.22-alt1
- new version 1.22 (with rpmrb script) - remove man page, disable test
Sept. 6, 2008 Vitaly Lipatov 1.20-alt3
- fix directory ownership violation