Пакет perl-Test-WWW-Mechanize: Информация
Исходный пакет: perl-Test-WWW-Mechanize
Версия: 1.60-alt1.1
Собран: 24 декабря 2022 г. 16:54
Категория: Разработка/Perl
Сообщить об ошибке в пакетеДомашняя страница: http://search.cpan.org/dist/Test-WWW-Mechanize/
Лицензия: Artistic
О пакете: Test-WWW-Mechanize - Testing-specific WWW::Mechanize subclass
Описание:
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.
Сопровождающий: Vitaly Lipatov
Последнее изменение
24 декабря 2022 г. Igor Vlasenko 1.60-alt1.1
- automated CPAN update
14 декабря 2022 г. Igor Vlasenko 1.60-alt1
- automated CPAN update
1 мая 2022 г. Igor Vlasenko 1.58-alt1
- automated CPAN update