packages feed

mockcat-1.4.1.0: mockcat.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.39.0.
--
-- see: https://github.com/sol/hpack

name:           mockcat
version:        1.4.1.0
synopsis:       Declarative mocking with a single arrow `~>`.
description:    Mockcat is a minimal, architecture-agnostic mocking library for Haskell.
                It enables declarative verification and intent-driven matching, allowing you to define function behavior and expectations without specific architectural dependencies.
                .
                See README for full examples: <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:      2025 funnycat
license:        MIT
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC == 9.2.8
  , GHC == 9.4.8
  , GHC == 9.6.3
  , GHC == 9.8.2
  , GHC == 9.10.1
extra-source-files:
    README.md
    README-ja.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/pujoheadsoft/mockcat

library
  exposed-modules:
      Test.MockCat
      Test.MockCat.Cons
      Test.MockCat.Internal.Builder
      Test.MockCat.Internal.GHC.StableName
      Test.MockCat.Internal.Message
      Test.MockCat.Internal.MockRegistry
      Test.MockCat.Internal.Registry.Core
      Test.MockCat.Internal.Types
      Test.MockCat.Internal.Verify
      Test.MockCat.Mock
      Test.MockCat.MockT
      Test.MockCat.Param
      Test.MockCat.TH
      Test.MockCat.TH.ClassAnalysis
      Test.MockCat.TH.ContextBuilder
      Test.MockCat.TH.FunctionBuilder
      Test.MockCat.TH.Types
      Test.MockCat.TH.TypeUtils
      Test.MockCat.Verify
      Test.MockCat.WithMock
  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 -Wredundant-constraints
  build-depends:
      base >=4.7 && <5
    , containers >=0.6 && <0.8
    , mtl >=2.2.2 && <2.4
    , stm ==2.5.*
    , template-haskell >=2.18 && <2.24
    , text >=2.0 && <2.2
    , transformers >=0.5.6 && <0.7
    , unliftio >=0.2.25.0 && <0.2.26
    , unliftio-core >=0.2.1.0 && <0.2.2
  default-language: Haskell2010

test-suite mockcat-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Property.AdditionalProps
      Property.ConcurrentCountProp
      Property.Generators
      Property.LazyEvalProp
      Property.OrderProps
      Property.ParamSpecMergeProp
      Property.ParamSpecNormalizeProp
      Property.ParamSpecRangeMergeRandomProp
      Property.ReinforcementProps
      Property.ScriptProps
      Support.ParamSpec
      Support.ParamSpecNormalize
      Test.MockCat.ConcurrencySpec
      Test.MockCat.ConfirmTHSpec
      Test.MockCat.ConsSpec
      Test.MockCat.DeriveSpec
      Test.MockCat.ExampleSpec
      Test.MockCat.HPCNestSpec
      Test.MockCat.HpcSpec
      Test.MockCat.Impl
      Test.MockCat.Internal.MockRegistrySpec
      Test.MockCat.MockSpec
      Test.MockCat.MockTSpec
      Test.MockCat.MultipleMocksSpec
      Test.MockCat.ParamSpec
      Test.MockCat.PartialMockCommonSpec
      Test.MockCat.PartialMockSpec
      Test.MockCat.PartialMockTHSpec
      Test.MockCat.Readme.MakeAutoLiftMockSpec
      Test.MockCat.Readme.MakeMockSpec
      Test.MockCat.Readme.MatcherSpec
      Test.MockCat.Readme.QuickStartDemoSpec
      Test.MockCat.Readme.ReadmeSpec
      Test.MockCat.Readme.ShouldBeCalledSpec
      Test.MockCat.Readme.WithMockIOSpec
      Test.MockCat.Readme.WithMockSpec
      Test.MockCat.SafetyAnalysis
      Test.MockCat.SharedSpecDefs
      Test.MockCat.ShouldBeCalledErrorDiffSpec
      Test.MockCat.ShouldBeCalledMockMSpec
      Test.MockCat.ShouldBeCalledSpec
      Test.MockCat.StubSpec
      Test.MockCat.TestHelper
      Test.MockCat.TH.ClassAnalysisSpec
      Test.MockCat.TH.ContextBuilderSpec
      Test.MockCat.TH.FunctionBuilderSpec
      Test.MockCat.TH.TypeUtilsSpec
      Test.MockCat.THCompareSpec
      Test.MockCat.TypeClassCommonSpec
      Test.MockCat.TypeClassMinimalSpec
      Test.MockCat.TypeClassSpec
      Test.MockCat.TypeClassTHSpec
      Test.MockCat.TypeFamilySpec
      Test.MockCat.WithMockErrorDiffSpec
      Test.MockCat.WithMockIOSpec
      Test.MockCat.WithMockSpec
      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 -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      QuickCheck >=2.14 && <2.17
    , async >=2.2.4 && <2.3
    , base >=4.7 && <5
    , containers >=0.6 && <0.8
    , hashable >=1.4 && <1.6
    , hspec >=2.11 && <2.13
    , inspection-testing >=0.4 && <0.7
    , mockcat
    , mtl >=2.2.2 && <2.4
    , stm ==2.5.*
    , template-haskell >=2.18 && <2.24
    , text >=2.0 && <2.2
    , transformers >=0.5.6 && <0.7
    , unliftio >=0.2.25.0 && <0.2.26
    , unliftio-core >=0.2.1.0 && <0.2.2
    , unordered-containers >=0.2.19 && <0.3
  default-language: Haskell2010