packages feed

tasty-silver-3.0: tasty-silver.cabal

name:                tasty-silver
version:             3.0
synopsis:            Golden tests support for tasty. Fork of tasty-golden.
description:
  This package provides 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.

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

--Source-repository head
--  type:     git
--  location: git://github.com/feuerbach/tasty-golden.git

library
  Default-language:
    Haskell2010
  exposed-modules:     Test.Tasty.Silver
                       Test.Tasty.Silver.Advanced
                       Test.Tasty.Silver.Manage
  other-modules:
                       Test.Tasty.Silver.Internal

  ghc-options: -Wall

  build-depends:
    base ==4.*,
    tasty >= 0.8,
    bytestring,
    process >= 1.2 && < 1.3,
    mtl,
    optparse-applicative,
    filepath,
    temporary-rc,
    tagged,
    deepseq,
    containers,
    directory,
    async,
    text >= 0.11.0.0 && < 1.3,
    process-extras >= 0.2 && < 0.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 >= 0.8
    , tasty-hunit
    , tasty-silver
    , filepath
    , directory
    , process
    , temporary-rc