-
Notifications
You must be signed in to change notification settings - Fork 2
/
testpack.cabal
54 lines (47 loc) · 1.69 KB
/
testpack.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Name: testpack
Version: 2.1.3.0
License: LGPL
Maintainer: John Goerzen <[email protected]>
Author: John Goerzen
Copyright: Copyright (c) 2004-2010 John Goerzen
license-file: COPYRIGHT
extra-source-files: COPYING, Makefile
homepage: https://github.com/jgoerzen/testpack
Category: Testing
synopsis: Test Utililty Pack for HUnit and QuickCheck (unmaintained)
Description:
Please note that this package is no longer maintained by its author!
.
Haskell Test Utility Pack for HUnit and QuickCheck testpack provides
utilities for both HUnit and QuickCheck. These include tools for
running QuickCheck properties as HUnit test cases, allowing you to
combine both approaches in a single program. It also includes tools for
more helpful displays of running progress in both HUnit and QuickCheck,
additional generators for other types for QuickCheck, and shortcuts for
quickly defining new test cases.
Stability: Beta
Build-Type: Simple
Cabal-Version: >=1.6
Source-Repository head
Type: git
Location: https://github.com/jgoerzen/testpack.git
Flag splitBase
description: Choose the new smaller, split-up base package.
Library
Hs-Source-Dirs: src
Exposed-Modules:
Test.HUnit.Tools,
Test.QuickCheck.Tools,
Test.QuickCheck.Instances
Extensions: ExistentialQuantification, CPP
-- Hack for cabal-install weirdness. cabal-install forces base 3,
-- though it works fine for Setup.lhs manually. Fix.
if impl(ghc >= 6.9)
build-depends: base >= 4 && <5
Build-Depends: base >= 3 && < 5,
mtl, HUnit,
QuickCheck >= 2.1.0.3 && < 2.8
If flag(splitBase)
Build-Depends: base >= 3 && < 5, containers, random
Else
Build-Depends: base < 3