portray-diff-hunit: HUnit assertions based on portray-diff

[ apache, data, library ] [ Propose Tags ]

This provides equality assertion functions for HUnit that pretty-print structural diffs of the values in question, rather than dumping the entire alues as part of the counterexamples. This is useful when comparing very large values, since it can otherwise be difficult to tell what changed between expected and actual values.

Versions [RSS] [faq]
Change log CHANGELOG.md
Dependencies base (>=4.12 && <4.17), HUnit (>=1.1 && <1.7), portray-diff (==0.1.*), portray-pretty (==0.1.*), pretty (>=1.1.3 && <1.2) [details]
License Apache-2.0
Copyright 2018-2021 Google LLC
Author Reiner Pope <reinerp@google.com>
Maintainer Andrew Pritchard <awpr@google.com>
Revised Revision 2 made by AndrewPritchard at 2021-11-03T06:52:49Z
Category Data
Home page https://github.com/google/hs-portray#readme
Bug tracker https://github.com/google/hs-portray/issues
Source repo head: git clone https://github.com/google/hs-portray(portray-diff-hunit)
Uploaded by AndrewPritchard at 2021-09-02T21:35:10Z
Distributions NixOS:
Downloads 72 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2021-09-02 [all 1 reports]


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees