-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhasql-explain-tests.cabal
More file actions
60 lines (53 loc) · 2.1 KB
/
Copy pathhasql-explain-tests.cabal
File metadata and controls
60 lines (53 loc) · 2.1 KB
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
cabal-version: 2.4
name: hasql-explain-tests
version: 0.1.0.0
synopsis: Hasql queries testing interface
homepage: https://github.com/cheopslab/hasql-explain-tests
bug-reports: https://github.com/cheopslab/hasql-explain-tests/issues
license: MPL-2.0
license-file: LICENSE
author: Alexander Vershilov
maintainer: alexander.vershilov@sirius.online
copyright: (C) Talant i uspeh, 2022
category: Testing
extra-source-files: CHANGELOG.md
Readme.markdown
description: The library provides an interface to test queries
in the projects that are using hasql library. Hasql library
is very low-level and allows you to use all the features of Postgres
at the cost of losing type safety. This package is intended to
fill the gap and simplify testing the project by providing helper functions
for basic queries tests that do not depend on the concrete application logic.
library
exposed-modules:
Test.Database.Hasql
Test.Database.Hasql.Spec
default-extensions:
ImportQualifiedPost
LambdaCase
OverloadedStrings
build-depends: base >=4.14.3.0 && <5,
bytestring <1,
hasql >= 1.0,
tmp-postgres >= 1.34,
QuickCheck >= 2.0,
profunctors ^>= 5.6,
hspec,
resource-pool
hs-source-dirs: src
default-language: Haskell2010
test-suite hasql-explain-tests-simple
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: simple.hs
default-extensions:
OverloadedStrings
build-depends: base >=4.14.3.0 && <5,
hasql-explain-tests,
tasty,
tasty-hunit,
hasql
source-repository head
type: git
location: https://github.com/cheopslab/hasql-explain-tests