tasty-dejafu
Deja Fu support for the Tasty test framework.
https://github.com/barrucadu/dejafu
| Version on this page: | 0.7.1.1 |
| LTS Haskell 24.16: | 2.1.0.2 |
| Stackage Nightly 2025-10-24: | 2.1.0.2 |
| Latest on Hackage: | 2.1.0.2 |
tasty-dejafu-0.7.1.1@sha256:145ee0db8af5663d4a4495b3d2264ff2246fae2d5a51fa25f6507b0fcb5c9f35,1498Module documentation for 0.7.1.1
- Test
- Test.Tasty
tasty-dejafu
Integration between the dejafu library for concurrency testing and tasty. This lets you easily incorporate concurrency testing into your existing test suites.
The documentation of the latest developmental version is available online.
Contributing
Bug reports, pull requests, and comments are very welcome!
Feel free to contact me on GitHub, through IRC (#haskell on freenode), or email ([email protected]).
Changes
Release Notes
All notable changes to this project will be documented in this file.
This project is versioned according to the Package Versioning Policy, the de facto standard Haskell versioning scheme.
0.7.1.1
- Date 2017-11-30
- Git tag tasty-dejafu-0.7.1.1
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.7.1.1
Test.Tasty.DejaFu
- Fix a missing
@sinceannotation.
0.7.1.0
- Date 2017-11-30
- Git tag tasty-dejafu-0.7.1.0
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.7.1.0
Test.Tasty.DejaFu
- A new
testPropertyForfunction for checking refinement properties with a custom number of seed values and variable assignments.
0.7.0.3
- Date 2017-11-02
- Git tag tasty-dejafu-0.7.0.3
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.7.0.3
Miscellaneous
- tasty-0.12 support
0.7.0.2
- Date 2017-10-11
- Git tag tasty-dejafu-0.7.0.2
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.7.0.2
Miscellaneous
- dejafu-0.9 support
0.7.0.1
- Date 2017-09-26
- Git tag tasty-dejafu-0.7.0.1
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.7.0.1
Miscellaneous
- dejafu-0.8 support
0.7.0.0
- Date 2017-08-10
- Git tag tasty-dejafu-0.7.0.0
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.6.0.0
Test.Tasty.DejaFu
- Two new functions:
testDejafuDiscardandtestDejafuDiscardIO, allowing you to selectively discard results or traces. - The
Discardtype anddefaultDiscarderfunction from dejafu is now re-exported.
Miscellaneous
- Lower version bound on dejafu raised to 0.7.1.0.
0.6.0.0
- Date 2017-04-08
- Git tag tasty-dejafu-0.6.0.0
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.6.0.0
Test.Tasty.DejaFu
- The refinement property testing functionality of dejafu is exposed in the new
testPropertyfunction, and re-exported values. - Due to changes in dejafu, the
Waytype is now abstract and exposes smart constructor functions:systematically, corresponding to the oldSystematically.randomly, corresponding to the oldRandomly.uniformly, a new uniform random (as opposed to weighted random) scheduler.swarmy, corresponding to the oldRandomlyand specifying how many executions to use the same weights for.
- The
defaultWay,defaultMemType, anddefaultBoundsvalues are all now re-exported.
Miscellaneous
- Only dejafu 0.7 is supported.
0.5.0.0
- Date 2017-04-08
- Git tag tasty-dejafu-0.5.0.0
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.5.0.0
Test.Tasty.DejaFu
- Due to changes in dejafu, the
Waytype no longer takes a parameter; it is now a GADT.
Miscellaneous
- There is now a changelog.
- Every definition and instance now has a Haddock “@since” annotation.
- Only dejafu 0.6 is supported.
0.4.0.0
- Date 2017-02-21
- Git tag tasty-dejafu-0.4.0.0
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.4.0.0
Test.Tasty.DejaFu
- All the functions which did take a
Boundsnow take aWayinstead and support random scheduling as well. - The
Waytype from dejafu is now re-exported. - The
IsOptioninstance (and so corresponding command-line argument) forBoundsis gone. - A new
IsOptioninstance forWay(and so corresponding command-line argument):- “systematically”: systematic testing with the default bounds.
- “randomly”: 100 executions with a fixed random seed.
Miscellaneous
- The minimum supported version of dejafu has been increased to 0.5 (from 0.2)
0.3.0.2
- Date 2016-09-10
- Git tag tasty-dejafu-0.3.0.2
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.3.0.2
Miscellaneous
- Now supports concurrency 1.0.0.0 and dejafu 0.4.0.0
0.3.0.1
- Date 2016-05-26
- Git tag tasty-dejafu-0.3.0.1
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.3.0.1
Miscellaneous
- Now supports GHC 8.
0.3.0.0
- Date 2016-04-28
- Git tag tasty-dejafu-0.3.0.0
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.3.0.0
Test.Tasty.DejaFu
- New
IsTestinstances forConcST t (Maybe String)andConcIO (Maybe String), with aJust Stringresult being a test failure with an error message. - The
Boundstype from dejafu is now re-exported. - New
IsOptioninstances forBoundsandMemType. - New command-line parameter to set the
MemTypeparameter:- “sc”: sequential consistency.
- “tso”: total store order.
- “pso”: partial store order.
Miscellaneous
- Now supports dejafu 0.2 (again).
0.1.1.0
- Date 2016-04-03
- Git tag tasty-dejafu-0.1.1.0
- This version was never pushed to hackage, whoops!
This version was misnumbered! It should have been 0.2.1.0!
Miscellaneous
- Now supports dejafu 0.3, but drops support for dejafu 0.2.
0.2.0.0
- Date 2015-12-01
- Git tag 0.2.0.0
- Hackage https://hackage.haskell.org/package/tasty-dejafu-0.2.0.0
Initial release. Go read the API docs.