The latest version of hspec-golden is 0.2.2.0-0.

hspec-golden

Version 0.2.1.0 revision 0 uploaded by stackbuilders.

Package meta

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 README on GitHub for more information.

Author
Stack Builders
Bug reports
https://github.com/stackbuilders/hspec-golden/issues
Category
Testing
Copyright
2019-Present Stack Builders Inc
Homepage
https://github.com/stackbuilders/hspec-golden#readme
Maintainer
Cristhian Motoche <cmotoche@stackbuilders.com>
Package URL
n/a
Stability
n/a

Components