-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtasty-silver.cabal
129 lines (119 loc) · 3.21 KB
/
tasty-silver.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
cabal-version: 1.14
name: tasty-silver
version: 3.3.2
synopsis: A fancy test runner, including support for golden tests.
description:
This package provides a fancy test runner and support for «golden testing».
.
A golden test is an IO action that writes its result to a file.
To pass the test, this output file should be identical to the corresponding
«golden» file, which contains the correct result for the test.
.
The test runner allows filtering tests using regexes, and to interactively
inspect the result of golden tests.
.
This package is a heavily extended fork of tasty-golden.
license: MIT
license-file: LICENSE
Homepage: https://github.com/phile314/tasty-silver
Bug-reports: https://github.com/phile314/tasty-silver/issues
author: Philipp Hausmann, Andreas Abel, Roman Cheplyaka, and others
maintainer: Andreas Abel, Philipp Hausmann
-- copyright:
category: Testing
build-type: Simple
extra-source-files:
CHANGELOG.md
README.md
tested-with:
GHC == 9.12.1
GHC == 9.10.1
GHC == 9.8.4
GHC == 9.6.6
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
-- Drop testing with GHC 7
-- GHC == 7.10.3
-- GHC == 7.8.4
-- GHC == 7.6.3
Source-repository head
type: git
location: https://github.com/phile314/tasty-silver.git
library
Default-language:
Haskell2010
Default-extensions:
LambdaCase
exposed-modules: Test.Tasty.Silver
Test.Tasty.Silver.Advanced
Test.Tasty.Silver.Filter
Test.Tasty.Silver.Interactive
Test.Tasty.Silver.Interactive.Run
Test.Tasty.Silver.Internal
if impl(ghc >= 8.0)
ghc-options:
-Wall
-Wno-name-shadowing
-Wcompat
build-depends:
base >= 4.6 && < 5
-- LambdaCase supported since GHC 7.6 (base-4.6)
, ansi-terminal >= 0.6.2.1
, async
, bytestring >= 0.10.0.0
-- bytestring-0.10 needed by process-extras-0.3
, containers
, directory >= 1.2.3.0
-- withCurrentDirectory needs at least 1.2.3.0
, deepseq
, filepath
, mtl
, optparse-applicative
, process >= 1.2
, process-extras >= 0.3
-- readCreateProcessWithExitCode needs at least 0.3
, regex-tdfa >= 1.2.0
, silently >= 1.2.5.1
-- Andreas Abel, 2021-09-05, latest silently is today 1.2.5.1
, stm >= 2.4.2
, tagged
, tasty >= 1.4
, temporary
, text >= 0.11.0.0
, transformers >= 0.3
if impl(ghc < 8.0)
build-depends: semigroups >= 0.18.3
Test-suite test
Default-language:
Haskell2010
Type:
exitcode-stdio-1.0
Hs-source-dirs:
tests
Main-is:
test.hs
Build-depends:
base
, tasty
, tasty-hunit
, tasty-silver
, filepath
, directory
, process
, silently
, temporary
, transformers
if impl(ghc < 8.0)
build-depends: semigroups
if impl(ghc >= 8.0)
ghc-options:
-Wall
-Wno-name-shadowing
-Wcompat