Package perl-Test-WWW-Mechanize: Information
Source package: perl-Test-WWW-Mechanize
Version: 1.60-alt1.1
Build time: Dec 24, 2022, 09:39 AM in the task #312335
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. 24, 2022 Igor Vlasenko 1.60-alt1.1
- automated CPAN update
Dec. 14, 2022 Igor Vlasenko 1.60-alt1
- automated CPAN update
May 1, 2022 Igor Vlasenko 1.58-alt1
- automated CPAN update