Allows tests such as QuickCheck properties and HUnit test cases to

be assembled into test groups, run in parallel (but reported in
deterministic order, to aid diff interpretation) and filtered and
controlled by command line options. All of this comes with colored
test output, progress reporting and test statistics output.

some nits and ok sthen@
This commit is contained in:
kili 2012-05-07 18:50:40 +00:00
parent f09f906c3a
commit 0f03bd4f29
4 changed files with 102 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/05/07 18:50:40 kili Exp $
COMMENT = framework for running and organising tests
DISTNAME = test-framework-0.6
CATEGORIES = devel
HOMEPAGE = http://batterseapower.github.com/test-framework/
MAINTAINER = Matthias Kilian <kili@openbsd.org>
# BSD3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = devel/hs-ansi-terminal>=0.4.0 \
devel/hs-ansi-wl-pprint>=0.5.1 \
devel/hs-regex-posix>=0.72 \
textproc/hs-xml>=1.3.5 \
net/hs-hostname>=1.0
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (ghc/test-framework-0.6.tar.gz) = pTbahDx0lNHd2sEh96b/Ig==
RMD160 (ghc/test-framework-0.6.tar.gz) = 2XImQaH3yfG4lmWwwZDmBYIVfiY=
SHA1 (ghc/test-framework-0.6.tar.gz) = 83Tc+zXIr6cjz2XMF2vp5oRpv4s=
SHA256 (ghc/test-framework-0.6.tar.gz) = Q5wf+03N8++4lH3DGR6paWh4/m3wZrK+gLWVxt3ABao=
SIZE (ghc/test-framework-0.6.tar.gz) = 19299

View File

@ -0,0 +1,5 @@
Allows tests such as QuickCheck properties and HUnit test cases to
be assembled into test groups, run in parallel (but reported in
deterministic order, to aid diff interpretation) and filtered and
controlled by command line options. All of this comes with colored
test output, progress reporting and test statistics output.

View File

@ -0,0 +1,63 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/05/07 18:50:40 kili Exp $
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/HS${DISTNAME}.o
lib/ghc/${DISTNAME}/Test/
lib/ghc/${DISTNAME}/Test/Framework/
lib/ghc/${DISTNAME}/Test/Framework.hi
lib/ghc/${DISTNAME}/Test/Framework/Core.hi
lib/ghc/${DISTNAME}/Test/Framework/Improving.hi
lib/ghc/${DISTNAME}/Test/Framework/Options.hi
lib/ghc/${DISTNAME}/Test/Framework/Providers/
lib/ghc/${DISTNAME}/Test/Framework/Providers/API.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/
lib/ghc/${DISTNAME}/Test/Framework/Runners/Console/
lib/ghc/${DISTNAME}/Test/Framework/Runners/Console.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/Console/Colors.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/Console/ProgressBar.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/Console/Run.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/Console/Statistics.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/Console/Table.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/Console/Utilities.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/Core.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/Options.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/Processors.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/Statistics.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/TestPattern.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/ThreadPool.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/TimedConsumption.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/XML/
lib/ghc/${DISTNAME}/Test/Framework/Runners/XML.hi
lib/ghc/${DISTNAME}/Test/Framework/Runners/XML/JUnitWriter.hi
lib/ghc/${DISTNAME}/Test/Framework/Seed.hi
lib/ghc/${DISTNAME}/Test/Framework/Utilities.hi
lib/ghc/${DISTNAME}/libHS${DISTNAME}.a
lib/ghc/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0
@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force
lib/ghc/${DISTNAME}/unregister.sh
share/doc/hs-${DISTNAME}/
share/doc/hs-${DISTNAME}/LICENSE
share/doc/hs-${DISTNAME}/html/
share/doc/hs-${DISTNAME}/html/Test-Framework-Options.html
share/doc/hs-${DISTNAME}/html/Test-Framework-Providers-API.html
share/doc/hs-${DISTNAME}/html/Test-Framework-Runners-Console.html
share/doc/hs-${DISTNAME}/html/Test-Framework-Runners-Options.html
share/doc/hs-${DISTNAME}/html/Test-Framework-Seed.html
share/doc/hs-${DISTNAME}/html/Test-Framework.html
share/doc/hs-${DISTNAME}/html/doc-index.html
share/doc/hs-${DISTNAME}/html/frames.html
share/doc/hs-${DISTNAME}/html/haddock-util.js
share/doc/hs-${DISTNAME}/html/hslogo-16.png
share/doc/hs-${DISTNAME}/html/index-frames.html
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/mini_Test-Framework-Options.html
share/doc/hs-${DISTNAME}/html/mini_Test-Framework-Providers-API.html
share/doc/hs-${DISTNAME}/html/mini_Test-Framework-Runners-Console.html
share/doc/hs-${DISTNAME}/html/mini_Test-Framework-Runners-Options.html
share/doc/hs-${DISTNAME}/html/mini_Test-Framework-Seed.html
share/doc/hs-${DISTNAME}/html/mini_Test-Framework.html
share/doc/hs-${DISTNAME}/html/minus.gif
share/doc/hs-${DISTNAME}/html/ocean.css
share/doc/hs-${DISTNAME}/html/plus.gif
share/doc/hs-${DISTNAME}/html/synopsis.png
share/doc/hs-${DISTNAME}/html/test-framework.haddock