packages feed

tasty-silver-3.2: tasty-silver.cabal

name:                tasty-silver
version:             3.2
synopsis:            A fancy test runner, including support for golden tests.
description:
  This package provides a fancy test runner and support for «golden testing».

  A golden test is an IO action that writes its result to a file.
  To pass the test, this output file should be identical to the corresponding
  «golden» file, which contains the correct result for the test.

  The test runner allows filtering tests using regexes, and to interactively
  inspect the result of golden tests.

  This package is a heavily extended fork of tasty-golden.

license:             MIT
license-file:        LICENSE
Homepage:            https://github.com/phile314/tasty-silver
Bug-reports:         https://github.com/phile314/tasty-silver/issues
author:              Philipp Hausmann, Roman Cheplyaka and others
maintainer:          Philipp Hausmann
-- copyright:           
category:            Testing
build-type:          Simple
cabal-version:       >=1.14
extra-source-files:  CHANGELOG.md
tested-with:         GHC == 8.0.1, GHC == 8.2.2, GHC == 8.6.1

Source-repository head
  type:     git
  location: git://github.com/phile314/tasty-silver.git

library
  Default-language:
    Haskell2010
  exposed-modules:     Test.Tasty.Silver
                       Test.Tasty.Silver.Advanced
                       Test.Tasty.Silver.Filter
                       Test.Tasty.Silver.Interactive
                       Test.Tasty.Silver.Interactive.Run
                       Test.Tasty.Silver.Internal

  if impl(ghc >= 8.2.2)
    ghc-options: -Wall -Wcompat -Wno-name-shadowing

  build-depends:
    ansi-terminal >= 0.6.2.1,
    async,
    base ==4.*,
    bytestring >= 0.9.2.1,
    containers,
    directory,
    deepseq,
    filepath,
    mtl,
    optparse-applicative,
    process >= 1.2,
    process-extras >= 0.2,
    regex-tdfa >= 1.2.0,
    stm >= 2.4.2,
    tagged,
    tasty >= 1.4,
    temporary,
    text >= 0.11.0.0
  if !impl(ghc >= 8.0)
    build-depends: semigroups >= 0.18.3

Test-suite test
  Default-language:
    Haskell2010
  Type:
    exitcode-stdio-1.0
  Hs-source-dirs:
    tests
  Main-is:
    test.hs
  Build-depends:
      base >= 4 && < 5
    , tasty >= 1.4
    , tasty-hunit
    , tasty-silver
    , filepath
    , directory
    , process
    , temporary
    , transformers >= 0.3