summaryrefslogtreecommitdiff
path: root/devel/hugs-HUnit
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-08-03 18:53:21 +0000
committerjmmv <jmmv@pkgsrc.org>2006-08-03 18:53:21 +0000
commit72ea00e9c1c8dc49b1450f69060207da58993939 (patch)
tree58a375c3690aa4fbb910f46640918f863a0e2f22 /devel/hugs-HUnit
parentef0acf7031a602e0196c53692ef2f5dece30881e (diff)
downloadpkgsrc-72ea00e9c1c8dc49b1450f69060207da58993939.tar.gz
Initial addition of hugs-HUnit, version 1.1.20060515:
HUnit is a unit testing framework for Haskell inspired in the JUnit tool for Java. A test-centered methodology for software development is most effective when tests are easy to create, change, and execute. The JUnit tool pioneered support for test-first development in Java. HUnit is an adaptation of JUnit to Haskell, a general-purpose, purely functional programming language. With HUnit (as with JUnit) you can easily create tests, name them, group them into suites, and execute them, with the framework checking the results automatically. Test specification in HUnit is even more concise and flexible than in JUnit, thanks to the nature of the Haskell language. HUnit currently includes only a text-based test controller, but the framework is designed for easy extension.
Diffstat (limited to 'devel/hugs-HUnit')
-rw-r--r--devel/hugs-HUnit/DESCR15
-rw-r--r--devel/hugs-HUnit/Makefile12
-rw-r--r--devel/hugs-HUnit/PLIST13
-rw-r--r--devel/hugs-HUnit/distinfo5
4 files changed, 45 insertions, 0 deletions
diff --git a/devel/hugs-HUnit/DESCR b/devel/hugs-HUnit/DESCR
new file mode 100644
index 00000000000..e09502d3f80
--- /dev/null
+++ b/devel/hugs-HUnit/DESCR
@@ -0,0 +1,15 @@
+HUnit is a unit testing framework for Haskell inspired in the JUnit tool
+for Java.
+
+A test-centered methodology for software development is most effective
+when tests are easy to create, change, and execute. The JUnit tool
+pioneered support for test-first development in Java. HUnit is an
+adaptation of JUnit to Haskell, a general-purpose, purely functional
+programming language.
+
+With HUnit (as with JUnit) you can easily create tests, name them, group
+them into suites, and execute them, with the framework checking the
+results automatically. Test specification in HUnit is even more concise
+and flexible than in JUnit, thanks to the nature of the Haskell language.
+HUnit currently includes only a text-based test controller, but the
+framework is designed for easy extension.
diff --git a/devel/hugs-HUnit/Makefile b/devel/hugs-HUnit/Makefile
new file mode 100644
index 00000000000..8553303ac58
--- /dev/null
+++ b/devel/hugs-HUnit/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/03 18:53:21 jmmv Exp $
+#
+
+DISTNAME= HUnit-1.1.20060515
+CATEGORIES= devel
+
+MAINTAINER= jmmv@NetBSD.org
+COMMENT= Unit testing framework for Haskell
+HOMEPAGE= http://hunit.sourceforge.net/
+
+.include "../../lang/hugs/package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/hugs-HUnit/PLIST b/devel/hugs-HUnit/PLIST
new file mode 100644
index 00000000000..fa20d8e822d
--- /dev/null
+++ b/devel/hugs-HUnit/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/03 18:53:21 jmmv Exp $
+lib/hugs/packages/HUnit/Test/HUnit.lhs
+lib/hugs/packages/HUnit/Test/HUnit/Base.lhs
+lib/hugs/packages/HUnit/Test/HUnit/Lang.lhs
+lib/hugs/packages/HUnit/Test/HUnit/Terminal.lhs
+lib/hugs/packages/HUnit/Test/HUnit/Text.lhs
+lib/hugs/packages/HUnit/packages/HUnit/package.conf
+@dirrm lib/hugs/packages/HUnit/packages/HUnit
+@dirrm lib/hugs/packages/HUnit/packages
+@dirrm lib/hugs/packages/HUnit/Test/HUnit
+@dirrm lib/hugs/packages/HUnit/Test
+@dirrm lib/hugs/packages/HUnit
+@comment in hugs: @dirrm lib/hugs/packages
diff --git a/devel/hugs-HUnit/distinfo b/devel/hugs-HUnit/distinfo
new file mode 100644
index 00000000000..5257a1951b1
--- /dev/null
+++ b/devel/hugs-HUnit/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/03 18:53:21 jmmv Exp $
+
+SHA1 (HUnit-1.1.20060515.tar.gz) = 91aeb90bda55dbb800fd4271bbfa762b441c3fc5
+RMD160 (HUnit-1.1.20060515.tar.gz) = 704c9e31cf83e59f2867d883f2045246fc19380e
+Size (HUnit-1.1.20060515.tar.gz) = 6524 bytes