summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/p5-Test-WWW-Declare/DESCR5
-rw-r--r--www/p5-Test-WWW-Declare/Makefile23
-rw-r--r--www/p5-Test-WWW-Declare/distinfo5
3 files changed, 33 insertions, 0 deletions
diff --git a/www/p5-Test-WWW-Declare/DESCR b/www/p5-Test-WWW-Declare/DESCR
new file mode 100644
index 00000000000..41d445196a7
--- /dev/null
+++ b/www/p5-Test-WWW-Declare/DESCR
@@ -0,0 +1,5 @@
+Often in web apps, tests are very dependent on the state set up by
+previous tests. If one test fails (e.g. "follow the link to the
+admin page") then it's likely there will be many more failures.
+The Perl 5 module Test::WWW::Declare module aims to alleviate this
+problem, as well as provide a nicer interface to Test::WWW::Mechanize.
diff --git a/www/p5-Test-WWW-Declare/Makefile b/www/p5-Test-WWW-Declare/Makefile
new file mode 100644
index 00000000000..1743f649f1b
--- /dev/null
+++ b/www/p5-Test-WWW-Declare/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/10 23:26:13 seb Exp $
+#
+
+DISTNAME= Test-WWW-Declare-0.01
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5 devel
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Test-WWW-Declare/
+COMMENT= Perl 5 module for declarative testing of web app
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Test/WWW/Declare/.packlist
+
+BUILD_DEPENDS+= p5-HTTP-Server-Simple-[0-9]*:../../www/p5-HTTP-Server-Simple
+BUILD_DEPENDS+= p5-Test-Tester-[0-9]*:../../devel/p5-Test-Tester
+DEPENDS+= p5-Test-WWW-Mechanize-[0-9]*:../../www/p5-Test-WWW-Mechanize
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-Test-WWW-Declare/distinfo b/www/p5-Test-WWW-Declare/distinfo
new file mode 100644
index 00000000000..44229439175
--- /dev/null
+++ b/www/p5-Test-WWW-Declare/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/10 23:26:13 seb Exp $
+
+SHA1 (Test-WWW-Declare-0.01.tar.gz) = b62d02343875f0ae625cdc699aeac5806a44c079
+RMD160 (Test-WWW-Declare-0.01.tar.gz) = 54ef8701984968551567a444dae78bcea2e9d52d
+Size (Test-WWW-Declare-0.01.tar.gz) = 18969 bytes