Cabal revisions of hspec-golden-0.2.2.0
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-cabal-version: 1.12---- This file has been generated from package.yaml by hpack version 0.36.0.------ see: https://github.com/sol/hpack--name: hspec-golden-version: 0.2.2.0-synopsis: Golden tests for hspec-description: .- Golden tests store the expected output in a separated file. Each time a golden test- is executed the output of the subject under test (SUT) is compared with the- expected output. If the output of the SUT changes then the test will fail until- the expected output is updated.- .- @hspec-golden@ allows you to write golden tests using the popular @hspec@.- .- > describe "myFunc" $- > it "generates the right output with the right params" $- > let output = show $ myFunc params- > in defaultGolden "myFunc" output- .- Please see the <https://github.com/stackbuilders/hspec-golden#readme README on GitHub>- for more information.-category: Testing-homepage: https://github.com/stackbuilders/hspec-golden#readme-bug-reports: https://github.com/stackbuilders/hspec-golden/issues-author: Stack Builders-maintainer: Cristhian Motoche <cmotoche@stackbuilders.com>-copyright: 2019-Present Stack Builders Inc-license: MIT-license-file: LICENSE-build-type: Simple-tested-with:- GHC==8.8, GHC==8.10, GHC==9.0-extra-source-files:- README.md- ChangeLog.md--source-repository head- type: git- location: https://github.com/stackbuilders/hspec-golden--library- exposed-modules:- Test.Hspec.Golden- other-modules:- Paths_hspec_golden- hs-source-dirs:- src- build-depends:- base >=4.6 && <5- , directory >=1.3.6 && <1.4- , filepath >=1.0 && <2.0- , hspec-core >=2.10 && <3.0- default-language: Haskell2010--executable hgold- main-is: Main.hs- other-modules:- Paths_hspec_golden- hs-source-dirs:- app- ghc-options: -threaded -rtsopts -with-rtsopts=-N- build-depends:- ansi-terminal >=1.0 && <2.0- , base >=4.6 && <5- , directory >=1.2.5.0- , hspec-golden- , optparse-applicative >=0.18.1 && <0.19- default-language: Haskell2010--test-suite hspec-golden-test- type: exitcode-stdio-1.0- main-is: Spec.hs- other-modules:- Test.Hspec.GoldenSpec- Paths_hspec_golden- hs-source-dirs:- test- ghc-options: -threaded -rtsopts -with-rtsopts=-N- build-tool-depends:- hspec-discover:hspec-discover >=2.0 && <3.0- build-depends:- base >=4.6 && <5- , directory- , hspec- , hspec-core- , hspec-golden- , silently- default-language: Haskell2010+cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.36.0. +-- +-- see: https://github.com/sol/hpack + +name: hspec-golden +version: 0.2.2.0 +x-revision: 1 +synopsis: Golden tests for hspec +description: . + Golden tests store the expected output in a separated file. Each time a golden test + is executed the output of the subject under test (SUT) is compared with the + expected output. If the output of the SUT changes then the test will fail until + the expected output is updated. + . + @hspec-golden@ allows you to write golden tests using the popular @hspec@. + . + > describe "myFunc" $ + > it "generates the right output with the right params" $ + > let output = show $ myFunc params + > in defaultGolden "myFunc" output + . + Please see the <https://github.com/stackbuilders/hspec-golden#readme README on GitHub> + for more information. +category: Testing +homepage: https://github.com/stackbuilders/hspec-golden#readme +bug-reports: https://github.com/stackbuilders/hspec-golden/issues +author: Stack Builders +maintainer: Cristhian Motoche <cmotoche@stackbuilders.com> +copyright: 2019-Present Stack Builders Inc +license: MIT +license-file: LICENSE +build-type: Simple +tested-with: + GHC==8.8, GHC==8.10, GHC==9.0 +extra-source-files: + README.md + ChangeLog.md + +source-repository head + type: git + location: https://github.com/stackbuilders/hspec-golden + +library + exposed-modules: + Test.Hspec.Golden + other-modules: + Paths_hspec_golden + hs-source-dirs: + src + build-depends: + base >=4.6 && <5 + , directory >=1.3.6 && <1.4 + , filepath >=1.0 && <2.0 + , hspec-core >=2.10 && <3.0 + default-language: Haskell2010 + +executable hgold + main-is: Main.hs + other-modules: + Paths_hspec_golden + hs-source-dirs: + app + ghc-options: -threaded -rtsopts -with-rtsopts=-N + build-depends: + ansi-terminal >=1.0 && <2.0 + , base >=4.6 && <5 + , directory >=1.2.5.0 + , hspec-golden + , optparse-applicative >=0.18.1 && <0.20 + default-language: Haskell2010 + +test-suite hspec-golden-test + type: exitcode-stdio-1.0 + main-is: Spec.hs + other-modules: + Test.Hspec.GoldenSpec + Paths_hspec_golden + hs-source-dirs: + test + ghc-options: -threaded -rtsopts -with-rtsopts=-N + build-tool-depends: + hspec-discover:hspec-discover >=2.0 && <3.0 + build-depends: + base >=4.6 && <5 + , directory + , hspec + , hspec-core + , hspec-golden + , silently + default-language: Haskell2010