Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37747074
en ru br
Репозитории ALT
S:1.60-alt1.1
5.1: 1.22-alt1
4.1: 1.10-alt0.1
4.0: 1.10-alt0.1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Test-WWW-Mechanize

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

#
#   - Test::WWW::Mechanize -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       --spec-only Test::WWW::Mechanize
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Test-WWW-Mechanize
%define m_distro Test-WWW-Mechanize
%define m_name Test::WWW::Mechanize
%define m_author_id unknown
%define _enable_test 1

Name: perl-Test-WWW-Mechanize
Version: 1.10
Release: alt0.1

Summary: Test-WWW-Mechanize - Testing-specific WWW::Mechanize subclass

License: Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/Test-WWW-Mechanize/

Packager: Vitaly Lipatov <lav at altlinux.ru>

BuildArch: noarch
Source: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/%m_distro-%version.tar.bz2

# Automatically added by buildreq on Fri Sep 02 2005

BuildRequires: perl-CGI perl-Carp-Assert-More perl-Compress-Zlib perl-Devel-Symdump perl-HTML-Parser perl-HTML-Tagset perl-HTTP-Server-Simple perl-Pod-Coverage perl-Pod-Escapes perl-Pod-Simple perl-Test-LongString perl-Test-Pod-Coverage perl-URI perl-WWW-Mechanize perl-devel perl-libwww

%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.

%prep
%setup -q -n %m_distro-%version
%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%perl_vendor_privlib/*
%perl_vendor_man3dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin