pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/hugs-HUnit Initial addition of hugs-HUnit, versi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69bf47a6f045
branches:  trunk
changeset: 517057:69bf47a6f045
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Thu Aug 03 18:53:21 2006 +0000

description:
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:

 devel/hugs-HUnit/DESCR    |  15 +++++++++++++++
 devel/hugs-HUnit/Makefile |  12 ++++++++++++
 devel/hugs-HUnit/PLIST    |  13 +++++++++++++
 devel/hugs-HUnit/distinfo |   5 +++++
 4 files changed, 45 insertions(+), 0 deletions(-)

diffs (61 lines):

diff -r 12d14282a757 -r 69bf47a6f045 devel/hugs-HUnit/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hugs-HUnit/DESCR    Thu Aug 03 18:53:21 2006 +0000
@@ -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 -r 12d14282a757 -r 69bf47a6f045 devel/hugs-HUnit/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hugs-HUnit/Makefile Thu Aug 03 18:53:21 2006 +0000
@@ -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@localhost
+COMMENT=       Unit testing framework for Haskell
+HOMEPAGE=      http://hunit.sourceforge.net/
+
+.include "../../lang/hugs/package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 12d14282a757 -r 69bf47a6f045 devel/hugs-HUnit/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hugs-HUnit/PLIST    Thu Aug 03 18:53:21 2006 +0000
@@ -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 -r 12d14282a757 -r 69bf47a6f045 devel/hugs-HUnit/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/hugs-HUnit/distinfo Thu Aug 03 18:53:21 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index