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

[ apache, data, library ] [ Propose Tags ] [ Report a vulnerability ]

This provides equality assertion functions for HUnit that pretty-print structural diffs of the values in question, rather than dumping the entire values 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.

Modules

[Index] [Quick Jump]

Downloads

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

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.12 && <4.19), HUnit (>=1.1 && <1.7), portray-diff (>=0.1 && <0.2), portray-pretty (>=0.1 && <0.2), 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 <awpritchard@gmail.com>
Revised Revision 6 made by AndrewPritchard at 2023-03-12T20:17:59Z
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
Downloads 277 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-09-02 [all 1 reports]