hspec-expectations-pretty

hspec-expectations with pretty printing on failure https://github.com/hspec/hspec-expectations#readme

Latest on Hackage:0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Daggerboard Inc, makers of docmunch.com
Maintained by Greg Weber

Use exactly the same as hspec-expectations. Require a PrettyTerm instance for anything under expectation. To start with you can define a Pretty instance and then just write: instance PrettyTerm YourData using wl-pprint-extras and wl-pprint-terminfo.

comments powered byDisqus