This repository has been archived by the owner on Jun 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
haskell-testing-stub.cabal
62 lines (55 loc) · 2.1 KB
/
haskell-testing-stub.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
name: haskell-testing-stub
version: 1.0.0
license: PublicDomain
license-file: LICENSE
author: Jan Stolarek <jan.stolarek@p.lodz.pl>
maintainer: jan.stolarek@p.lodz.pl
copyright: (c) 2012-2014 Jan Stolarek
bug-reports: https://github.com/jstolarek/haskell-testing-stub/issues
homepage: https://github.com/jstolarek/haskell-testing-stub
synopsis: Stub project showing how to organize code tests in Haskell
description: This stub project shows how to:
* separate tests from the source code
* use cabal to automate tests
* combine tests created using HUnit and QuickCheck into one
test suite.
* supply one HUnit test with many test data sets
* create assertions for floating point values
References:
* <http://lambda.jstolarek.com/2012/10/code-testing-in-haskell/>
* <http://lambda.jstolarek.com/2012/10/code-benchmarking-in-haskell/>
stability: stable
category: Testing
build-type: Simple
cabal-version: >=1.8
tested-with: GHC>=7.6.3
extra-source-files: README.md
source-repository head
type: git
location: git://github.com/jstolarek/haskell-testing-stub.git
library
hs-source-dirs: src
exposed-modules: Signal
other-modules: Signal.Utils
build-depends: base
ghc-options: -Wall
-O2
test-suite signal-tests
type: exitcode-stdio-1.0
hs-source-dirs: tests, src
main-is: MainTestSuite.hs
build-depends: base,
HUnit,
QuickCheck,
tasty,
tasty-hunit,
tasty-quickcheck
benchmark signal-bench
type: exitcode-stdio-1.0
hs-source-dirs: src, bench
main-is: MainBenchmarkSuite.hs
build-depends: base,
criterion,
random
ghc-options: -Wall
-O2