-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtasty-discover.cabal
132 lines (118 loc) · 5.93 KB
/
tasty-discover.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
130
131
132
cabal-version: 2.2
name: tasty-discover
version: 5.0.1
synopsis: Test discovery for the tasty framework.
description: Automatic test discovery and runner for the tasty framework.
Prefix your test case names and tasty-discover will discover, collect and run them.
All popular test libraries are covered. Configure once and then just write your tests.
Avoid forgetting to add test modules to your Cabal/Hpack files.
Tasty ingredients are included along with various configuration options for different
use cases.
Please see the `README.md` below for how to get started.
category: Testing
stability: Experimental
homepage: https://github.com/haskell-works/tasty-discover
bug-reports: https://github.com/haskell-works/tasty-discover/issues
author: Luke Murphy
maintainer: John Ky <[email protected]>
copyright: 2016 Luke Murphy
2020-2022 John Ky
license: MIT
license-file: LICENSE
tested-with: GHC == 9.2.2, GHC == 9.0.2, GHC == 8.10.7, GHC == 8.8.4, GHC == 8.6.5
build-type: Simple
extra-source-files: CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/haskell-works/tasty-discover
flag dev
description: Enable development mode
manual: True
default: False
common base { build-depends: base >= 4.11 && < 5 }
common bytestring { build-depends: bytestring >= 0.9 && < 1.0 }
common containers { build-depends: containers >= 0.4 && < 1.0 }
common directory { build-depends: directory >= 1.1 && < 2.0 }
common filepath { build-depends: filepath >= 1.3 && < 2.0 }
common Glob { build-depends: Glob >= 0.8 && < 1.0 }
common hedgehog { build-depends: hedgehog >= 1.0 && < 2.0 }
common hspec { build-depends: hspec >= 2.7 && < 2.12 }
common hspec-core { build-depends: hspec-core >= 2.7.10 && < 2.12 }
common tasty { build-depends: tasty >= 1.3 && < 2.0 }
common tasty-golden { build-depends: tasty-golden >= 2.0 && < 3.0 }
common tasty-hedgehog { build-depends: tasty-hedgehog >= 1.2 && < 2.0 }
common tasty-hspec { build-depends: tasty-hspec >= 1.1 && < 1.3 }
common tasty-hunit { build-depends: tasty-hunit >= 0.10 && < 0.11 }
common tasty-quickcheck { build-depends: tasty-quickcheck >= 0.10 && < 0.11 }
common tasty-smallcheck { build-depends: tasty-smallcheck >= 0.8 && < 1.0 }
common project-config
default-extensions: DerivingStrategies
if (impl(ghc >= 9.2.1))
default-extensions: OverloadedRecordDot
ghc-options: -Wall
-Widentities
-Wincomplete-uni-patterns
-Wmissing-deriving-strategies
-Wredundant-constraints
-Wunused-packages
default-language: GHC2021
if (flag(dev))
ghc-options: -Werror
common tasty-discover
build-depends: tasty-discover
library
import: base, project-config
, Glob
, containers
, filepath
, tasty
exposed-modules: Test.Tasty.Discover
Test.Tasty.Discover.Internal.Config
Test.Tasty.Discover.Internal.Driver
Test.Tasty.Discover.Internal.Generator
Test.Tasty.Discover.TastyInfo
Test.Tasty.Discover.Version
other-modules: Paths_tasty_discover
autogen-modules: Paths_tasty_discover
hs-source-dirs: src
ghc-options: -Wall
default-language: Haskell2010
executable tasty-discover
import: base, project-config
, filepath
main-is: app/Main.hs
autogen-modules: Paths_tasty_discover
other-modules: Paths_tasty_discover
ghc-options: -Wall
build-depends: tasty-discover
default-language: Haskell2010
test-suite tasty-discover-test
import: base, project-config
, bytestring
, containers
, hedgehog
, hspec
, hspec-core
, tasty
, tasty-golden
, tasty-hedgehog
, tasty-hspec
, tasty-hunit
, tasty-quickcheck
, tasty-smallcheck
type: exitcode-stdio-1.0
main-is: Driver.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
other-modules: ConfigTest
DiscoverTest
SubMod.FooBaz
SubMod.PropTest
SubMod.SubSubMod.PropTest
Paths_tasty_discover
autogen-modules: Paths_tasty_discover
hs-source-dirs: test
ghc-options: -Wall
build-depends: tasty-discover
default-language: Haskell2010
build-tool-depends: tasty-discover:tasty-discover