-
Notifications
You must be signed in to change notification settings - Fork 4
/
HMock.cabal
96 lines (90 loc) · 3.77 KB
/
HMock.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
cabal-version: 2.4
name: HMock
version: 0.5.1.2
synopsis: A flexible mock framework for testing effectful code.
description: HMock is a flexible mock framework for testing effectful
code in Haskell. Tests can set up expectations about
actions that can or should be performed and their results,
and then verify those expectations when the test is
complete.
.
For more information, see the module documentation for
"Test.HMock".
category: Testing
homepage: https://github.com/cdsmith/HMock
bug-reports: https://github.com/cdsmith/HMock/issues
license: BSD-3-Clause
license-file: LICENSE
author: Chris Smith <[email protected]>
maintainer: Chris Smith <[email protected]>
extra-source-files: CHANGELOG.md, README.md
tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.7 || == 9.0.2 || == 9.2.8 || == 9.4.8 || == 9.6.5 || == 9.8.2 || == 9.10.1
source-repository head
type: git
location: git://github.com/cdsmith/HMock.git
library
exposed-modules: Test.HMock,
Test.HMock.ExpectContext,
Test.HMock.Mockable,
Test.HMock.MockMethod,
Test.HMock.MockT,
Test.HMock.Multiplicity,
Test.HMock.Rule,
Test.HMock.TH,
Test.HMock.Internal.ExpectSet,
Test.HMock.Internal.Rule,
Test.HMock.Internal.State,
Test.HMock.Internal.Step,
Test.HMock.Internal.TH,
Test.HMock.Internal.Util
build-depends: base >=4.11.0 && < 4.21,
constraints >= 0.13 && < 0.15,
containers >= 0.6.2 && < 0.8,
data-default >= 0.7.1 && < 0.8,
exceptions >= 0.10.4 && < 0.11,
explainable-predicates >= 0.1 && < 0.2,
extra >= 1.7.9 && < 1.8,
monad-control >= 1.0.2 && < 1.1,
mtl >= 2.2.2 && < 2.4,
stm >= 2.5.0 && < 2.6,
syb >= 0.7.2 && < 0.8,
template-haskell >= 2.14 && < 2.23,
transformers-base >= 0.4.5 && < 0.5,
unliftio >= 0.2.18 && < 0.3,
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -Wcompat -Wincomplete-uni-patterns
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Classes,
Core,
Demo,
DocTests.All,
DocTests.Test.HMock.Multiplicity,
ExpectSet,
Multiplicity,
QuasiMock,
QuasiMockBase,
TH,
Util.DeriveRecursive
build-depends: HMock,
QuickCheck,
base,
containers,
data-default,
deepseq,
directory,
doctest-exitcode-stdio,
doctest-lib,
exceptions,
explainable-predicates,
extra,
hspec,
mtl,
syb,
template-haskell,
unliftio
hs-source-dirs: test
default-language: Haskell2010
ghc-options: -threaded -Wall -Wcompat -Wincomplete-uni-patterns -Wno-orphans