./devel/hs-tasty, Modern and extensible testing framework

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.5nb2, Package name: hs-tasty-1.5nb2, Maintainer: pkgsrc-users

Tasty is a modern testing framework for Haskell.

It lets you combine your unit tests, golden tests,
QuickCheck/SmallCheck properties, and any other types of tests into a
single test suite.

Features:

* Run tests in parallel but report results in a deterministic order
* Filter the tests to be run using patterns specified on the command
line
* Hierarchical, colored display of test results
* Reporting of test statistics
* Acquire and release resources (sockets, temporary files etc.) that
can be shared among several tests
* Extensibility: add your own test providers and ingredients (runners)
above and beyond those provided


Required to run:
[devel/hs-tagged] [devel/hs-async] [lang/ghc88] [devel/hs-optparse-applicative] [textproc/hs-wcwidth] [devel/hs-unbounded-delays]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 63.499 KB

Version history: (Expand)


CVS history: (Expand)


   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-30 04:17:48 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-tasty: Update to 1.5

Version 1.5 - 2023-09-10
* Progress reporting is no longer ignored. PrintTest constructor of
  TestOutput now has an extra field used to report progress. Supply const
  (pure ()) as this extra field value if you want to skip progress
  reporting (#311).
* foldGroup now takes [b] instead of b as its last argument to allow for
  custom fold strategies. This is a backwards incompatible change, but you
  can get the old behavior by applying mconcat (#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-report flag that specifies the time a test must
  take before tasty outputs timing information (#341).
* When a test failed with an exception, print it using displayException
  instead of show (#330).
* The -p / --pattern option 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).
* Tested with GHC 8.0 - 9.8.
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-26 11:25:46 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-tasty: Update to 1.4.3

Version 1.4.3 - 2022-12-18
* Drop unbounded-delays dependency on 64-bit machines (#344).
* Drop clock dependency, decomission clock flag (#345).
* Drop wcwidth dependency (#346)
* Tested with GHC 8.0 - 9.4.

Version 1.4.2.3 - 2022-05-10
* Drop mtl dependency
* Warning-free under GHC 8.0 - 9.2

Version 1.4.2.2 - 2022-05-10
* Fix compilation with mtl-2.3
* Tested with GHC 8.0 - 9.2; dropped support for GHC 7.x
   2022-09-07 08:50:53 by Masatake Daimon | Files touched by this commit (149) | Package updated
Log message:
Recursive bump for recently updated Haskell packages
   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
   2022-02-12 09:51:00 by Masatake Daimon | Files touched by this commit (575)
Log message:
revbump after changing the default Haskell compiler
   2022-02-12 06:18:31 by Masatake Daimon | Files touched by this commit (4)
Log message:
Update to tasty-1.4.2.1

Version 1.4.2.1
    Fix warnings under GHC 9.2

Version 1.4.2
    Add consoleTestReporterWithHook
    Suggest pattern to rerun an individual failing test
    Add Test.Tasty.Patterns.Printer