antigen-0.4.0.0: antigen.cabal
cabal-version: 3.0
name: antigen
version: 0.4.0.0
synopsis: Fault injection for QuickCheck
description:
AntiGen extends QuickCheck to allow injecting random faults into QuickCheck
generators.
It introduces the `AntiGen` monad, a drop-in replacement for `Gen` that allows
developers to define negative generators alongside their standard
positive generators.
license: MIT
license-file: LICENSE
author: IOG Ledger Team
maintainer: hackage@iohk.io
copyright: 2026 Input Output Global Inc (IOG)
category: Testing
build-type: Simple
extra-doc-files: CHANGELOG.md, README.md
data-files: .golden/*.golden
tested-with: GHC == 9.10.3
source-repository head
type: git
location: https://github.com/input-output-hk/antigen
common warnings
ghc-options: -Wall -Wunused-packages
library
import: warnings
exposed-modules:
Test.AntiGen
Test.AntiGen.Internal
build-depends:
base >=4.18 && <5,
containers >= 0.6 && < 0.9,
QuickCheck >= 2.14 && < 2.19,
free >= 5.1 && < 5.3,
random >= 1.2 && < 1.4,
text >= 2.0 && < 2.2,
quickcheck-transformer >= 0.3.1 && < 0.4,
hs-source-dirs: src
default-language: Haskell2010
test-suite antigen-test
import: warnings
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules: Paths_antigen
autogen-modules: Paths_antigen
build-depends:
base,
antigen,
filepath,
hspec,
hspec-golden,
QuickCheck,
quickcheck-transformer,
text,
benchmark bench
import: warnings
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench
default-language: Haskell2010
build-depends:
antigen,
base,
criterion,
deepseq,
QuickCheck,
quickcheck-transformer,
text,