On behalf of maintainers I’m happy to announce tasty-1.5 RC1. Here is the changelog:
- Progress reporting is no longer ignored.
PrintTestconstructor ofTestOutputnow has an extra field used to report progress. Supplyconst (pure ())as this extra field value if you want to skip progress reporting (#311). -
foldGroupnow takes[b]instead ofbas its last argument to allow for custom fold strategies. This is a backwards incompatible change, but you can get the old behavior by applyingmconcat(#364). - Dependency loop error now lists all test cases that formed a cycle (#340).
- Dependencies can now be defined pattern-free with
sequentialTestGroup(#343). - Added
--min-duration-to-reportflag that specifies the time a test must take beforetastyoutputs timing information (#341). - When a test failed with an exception, print it using
displayExceptioninstead ofshow(#330). - The
-p/--patternoption can be specified multiple times; only tests that match all patterns are run (#380). - Fix color scheme to make info messages visible in terminals with white background (#369).
- When parsing of a command-line option failed, report received option (#368).
- Support WASM (#365).
You can give it a try using the following cabal.project:
packages: .
packages:
https://hackage.haskell.org/package/tasty-1.5/candidate/tasty-1.5.tar.gz
https://hackage.haskell.org/package/tasty-hunit-0.10.1/candidate/tasty-hunit-0.10.1.tar.gz
https://hackage.haskell.org/package/tasty-quickcheck-0.10.3/candidate/tasty-quickcheck-0.10.3.tar.gz
https://hackage.haskell.org/package/tasty-bench-0.3.5/candidate/tasty-bench-0.3.5.tar.gz
https://hackage.haskell.org/package/tasty-rerun-1.1.19/candidate/tasty-rerun-1.1.19.tar.gz
If all goes well, the release is scheduled for mid September.
