testbench-0.1.0.0: testbench.cabal
name: testbench
version: 0.1.0.0
synopsis: Create tests and benchmarks together
description: {
Test your benchmarks! Benchmark your tests!
.
It's too easy to accidentally try and benchmark apples and oranges
together. Wouldn't it be nice if you could somehow guarantee that
your benchmarks satisfy some simple tests (e.g. a group of comparisons
all return the same value)?
.
Furthermore, trying to compare multiple inputs/functions against each
other requires a lot of boilerplate, making it even easier to
accidentally compare the wrong things (e.g. using `whnf` instead of
`nf`).
.
/testbench/ aims to help solve these problems and more by making it
easier to write unit tests and benchmarks together by stating up-front
what requirements are needed and then using simple functions to state
the next parameter to be tested/benchmarked.
}
license: MIT
license-file: LICENSE
author: Ivan Lazar Miljenovic
maintainer: Ivan.Miljenovic@gmail.com
-- copyright:
category: Testing
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
tested-with: GHC == 7.10.2, GHC == 8.0.1, GHC == 8.1.*
source-repository head
type: git
location: https://github.com/ivan-m/testbench.git
flag examples
description: Build example executable
default: False
library
exposed-modules: TestBench
other-modules: Criterion.Tree
, TestBench.LabelTree
build-depends: base >=4.7 && <4.11
, boxes == 0.1.*
, criterion == 1.1.*
, deepseq
, HUnit
, statistics
, transformers
hs-source-dirs: src
default-language: Haskell2010
executable examples
if flag(examples)
buildable: True
else
buildable: False
default-language: Haskell2010
hs-source-dirs: examples
main-is: Simple.hs
build-depends: testbench
, base
, bytestring
, containers
, criterion
, HUnit