benri-hspec-0.1.0.2: benri-hspec.cabal
cabal-version: 3.0
name: benri-hspec
version: 0.1.0.2
synopsis: Simplify tests where Either or Maybe types are returned from monadic code
description:
A small library of __convenient__ functions for writing hspec tests.
It simplifies tests where `Either`, `Maybe` and other types are returned from
monadic code.
The [README](https://github.com/adetokunbo/benri-hspec#readme) provides usage examples.
license: BSD-3-Clause
license-file: LICENSE
author: Tim Emiola
maintainer: adetokunbo@emio.la
category: Web
homepage: https://github.com/adetokunbo/benri-hspec#readme
bug-reports:
https://github.com/adetokunbo/benri-hspec/issues
build-type: Simple
extra-source-files:
ChangeLog.md
source-repository head
type: git
location: https://github.com/adetokunbo/benri-hspec.git
library
exposed-modules: Test.Hspec.Benri
hs-source-dirs: src
build-depends:
, base >=4.10 && <5
, hspec >=2.7.0 && <2.12.0
default-language: Haskell2010
ghc-options: -Wall -Wincomplete-uni-patterns -Wpartial-fields -fwarn-tabs
Flag build-the-readme
description: Allow the readme to build
default: False
test-suite readme
if os(windows) || !flag(build-the-readme)
buildable: False
else
buildable: True
build-tool-depends: markdown-unlit:markdown-unlit
type: exitcode-stdio-1.0
ghc-options: -pgmL markdown-unlit -threaded -rtsopts -with-rtsopts=-N -Wall -Wincomplete-patterns -Wpartial-fields
main-is: README.lhs
default-language: Haskell2010
build-depends:
, base
, benri-hspec
, hspec
Flag use-doc-tests
description: Include the doctests in the package tests
default: True
test-suite doctests
if flag(use-doc-tests)
buildable: True
else
buildable: False
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
, base
, doctest >=0.8
, benri-hspec
, hspec
hs-source-dirs: doctest
default-language: Haskell2010
ghc-options: -threaded