Behavior Driven Development for Haskell. Hspec is roughly based on the

Ruby library RSpec.  However, Hspec is just a framework for running
HUnit and QuickCheck tests.  Compared to other options, it provides a
much nicer syntax that makes tests very easy to read.

WWW:	http://hspec.github.com/

Obtained from:	FreeBSD Haskell
This commit is contained in:
Gabor Pali 2012-06-24 10:15:27 +00:00
parent 7f696346eb
commit d6d6d4fa76
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299852
5 changed files with 31 additions and 0 deletions

View File

@ -665,6 +665,7 @@
SUBDIR += hs-hlibev
SUBDIR += hs-hoogle
SUBDIR += hs-hslogger
SUBDIR += hs-hspec
SUBDIR += hs-idoc
SUBDIR += hs-language-c
SUBDIR += hs-language-javascript

21
devel/hs-hspec/Makefile Normal file
View File

@ -0,0 +1,21 @@
# New ports collection makefile for: hs-hspec
# Date created: June 10, 2012
# Whom: haskell@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= hspec
PORTVERSION= 1.1.1
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Behavior Driven Development for Haskell
LICENSE= BSD
USE_CABAL= ansi-terminal==0.5.5_3 HUnit>=1 QuickCheck>=2.4.0.1 \
silently>=1.1.1 transformers>=0.2.0
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>

2
devel/hs-hspec/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (cabal/hspec-1.1.1.tar.gz) = 13ed4d0dba0b1f3e21b5b33bb2fea3dca7b2e8687e508352b74c460b11fe0098
SIZE (cabal/hspec-1.1.1.tar.gz) = 11710

6
devel/hs-hspec/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Behavior Driven Development for Haskell. Hspec is roughly based on the
Ruby library RSpec. However, Hspec is just a framework for running
HUnit and QuickCheck tests. Compared to other options, it provides a
much nicer syntax that makes tests very easy to read.
WWW: http://hspec.github.com/

View File

@ -148,6 +148,7 @@ hS3_port= www/hs-hS3 # executable
hscolour_port= print/hs-hscolour # executable
hslogger_port= devel/hs-hslogger
HsOpenSSL_port= security/hs-HsOpenSSL
hspec_port= devel/hs-hspec
HStringTemplate_port= textproc/hs-HStringTemplate
html_port= textproc/hs-html
HTTP_port= www/hs-HTTP