mockcat-0.1.0.0: mockcat.cabal
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
name: mockcat
version: 0.1.0.0
synopsis: Simple mock function library for test in Haskell.
description: mockcat is simple mock library for test in Haskell.
.
mockcat provides so-called stubbing and verification functions.
.
Stub functions can return values of Pure Types as well as value of Monadic Types.
.
Example:
.
@
f \<- createStubFn $ "expected arg" |\> "return value"
print $ f "expected arg" -- "return value"
@
.
For more please see the README on GitHub at <https://github.com/pujoheadsoft/mockcat#readme>
category: Testing
homepage: https://github.com/pujoheadsoft/mockcat#readme
bug-reports: https://github.com/pujoheadsoft/mockcat/issues
author: funnycat <pujoheadsoft@gmail.com>
maintainer: funnycat <pujoheadsoft@gmail.com>
copyright: 2024 funnycat
license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: https://github.com/pujoheadsoft/mockcat
library
exposed-modules:
Test.MockCat
Test.MockCat.Cons
Test.MockCat.Mock
Test.MockCat.Param
Test.MockCat.ParamDivider
Test.MockCat.TH
other-modules:
Paths_mockcat
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -fprint-potential-instances
build-depends:
base >=4.7 && <5
, template-haskell >=2.18 && <2.23
, text >=2.0 && <2.2
default-language: Haskell2010
test-suite mockcat-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Test.MockCat.ConsSpec
Test.MockCat.ExampleSpec
Test.MockCat.MockSpec
Test.MockCat.ParamSpec
Paths_mockcat
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -fprint-potential-instances -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, hspec
, mockcat
, template-haskell >=2.18 && <2.23
, text >=2.0 && <2.2
default-language: Haskell2010