tasty-checklist

Check multiple items during a tasty test

LTS Haskell 23.1:1.0.6.0
Stackage Nightly 2024-12-23:1.0.6.0
Latest on Hackage:1.0.6.0

See all snapshots tasty-checklist appears in

ISC licensed by Kevin Quick
Maintained by [email protected]
This version can be pinned in stack with:tasty-checklist-1.0.6.0@sha256:3d2be42a4a7348c65ab0716a7fed9d6f297bd159eba0090218bbacd6cdce7ad8,2390

Module documentation for 1.0.6.0

Allows the test to check a number of items during a test and only signal pass or fail when the end if the checklist is reached.

Also provides an easy method to check multiple derived values from a single input value.

Changes

Revision history for tasty-checklist

1.0.6.0 – 2023-04-14

  • Update output formatting to show common input trigger only once for a group of check failures rather than on each failure.
  • Small formatting updates to check failure messages.
  • The API is compatible, but any operation checking the text of the output messages will need to be updated.

1.0.5.1 – 2023-03-31

  • Remove constraint bounds for GHC builtin libraries.
  • Bump doctest constraints to allow 0.21 release series.

1.0.5.0 – 2023-01-07

  • Enhanced display of multi-line differences to make whitespace more visible.

1.0.4.1 – 2022-12-26

  • Bump upper bound of doctest to enable GHC 9.4 support.

1.0.4.0 – 2022-08-09

  • Added explicit LICENSE file
  • Updated failure messages for clarity and readability
  • Misc. Haddock documentation updates.

1.0.3.0 – 2021-08-13

  • Bump doctest upper constraints (contributed by Felix Yan)
  • Added missing doctest source
  • Added Observe to DerivedVal to allow using a user-supplied observation function on failure.
  • Added multiLineDiff helper function

1.0.2.0 – 2021-07-25

  • Added Got specifier for simpler specification of boolean DerivedVal than using Val.
  • Better clarity in failure messages.
  • Cleaned up documentation and added doctest for ensuring documentation samples are accurate.

1.0.1.0 – 2021-06-27

  • ASCII output, no UTF-8.
  • More information on failures regarding input and value obtained from input relative to expected value.

1.0.0.0 – 2021-04-20

  • Initial version.