tasty-golden-2.3.3.1: tasty-golden.cabal
name: tasty-golden
version: 2.3.3.1
synopsis: Golden tests support for tasty
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.
To get started with golden testing and this library, see
<https://ro-che.info/articles/2017-12-04-golden-tests Introduction to golden testing>.
license: MIT
license-file: LICENSE
Homepage: https://github.com/feuerbach/tasty-golden
Bug-reports: https://github.com/feuerbach/tasty-golden/issues
author: Roman Cheplyaka
maintainer: Roman Cheplyaka <roma@ro-che.info>
-- copyright:
category: Testing
build-type: Simple
cabal-version: >=1.14
extra-source-files:
CHANGELOG.md
example/golden/fail/*.golden
example/golden/success/*.golden
tests/golden/*.golden
Tested-With:
GHC ==7.8.4 ||
==7.10.3 ||
==8.0.2 ||
==8.2.2 ||
==8.4.4 ||
==8.6.5 ||
==8.8.2
Source-repository head
type: git
location: git://github.com/feuerbach/tasty-golden.git
library
Default-language:
Haskell2010
exposed-modules: Test.Tasty.Golden
Test.Tasty.Golden.Advanced
Test.Tasty.Golden.Manage
other-modules:
Test.Tasty.Golden.Internal
ghc-options: -Wall
build-depends:
base >= 4.7,
tasty >= 1.0.1,
bytestring >= 0.9.2.1,
process,
mtl,
optparse-applicative >= 0.3.1,
filepath,
temporary,
tagged,
deepseq,
containers,
directory,
async,
text
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.2
, tasty-hunit
, tasty-golden
, filepath
, directory
, process
, temporary
if (flag(build-example))
cpp-options: -DBUILD_EXAMPLE
flag build-example
default: False
manual: True
-- An example test suite used for testing.
-- Tries to exercise all ways to create golden tests.
-- Not built by default. To build it, turn on the build-example flag:
--
-- stack build :example --flag tasty-golden:build-example
executable example
Default-language:
Haskell2010
Hs-source-dirs:
example
Main-is:
example.hs
if (! flag(build-example))
buildable: False
Build-depends:
base >= 4 && < 5
, filepath
, bytestring
, tasty
, tasty-golden