Commit Graph

128 Commits

Author SHA1 Message Date
Michael Walker
ee99cbb975
Fix formatting issues in CHANGELOGs 2023-10-19 20:01:59 +01:00
Michael Walker
d816d65d93
tasty-dejafu-2.1.0.1 2023-09-11 19:56:10 +01:00
Michael Walker
1c2bba5050
Bump tasty upper bound to <1.6 2023-09-11 19:56:10 +01:00
Michael Walker
d8a4ebd84b Release tasty-dejafu-2.1.0.0
See CHANGELOG.
2022-08-31 21:39:49 +01:00
Michael Walker
700a82b1db Make tasty-dejafu multi-predicate functions take the test group name
These functions were added way back in the day to share work between a
group of predicates.  That functionality was dropped in 2017 when
bound threads were implemented and running all tests began to require
IO (#157) - confusingly, the comment about sharing work was kept for 5
more years (until #362).

hunit-dejafu has very similar functions, and I wanted to make the APIs
of both packages identical so far as possible.  HUnit supports
nameless test groups.  Tasty does not.  To keep the API the same as
hunit-dejafu, I filled in a default group name: "Deja Fu Tests".

But an unchangeable name isn't conducive to good testsuite output, and
it's time to fix that mistake.

I considered deprecating these functions instead, but they're not
really causing any problems as such, so there's no harm in keeping
them.

Fixes #361
2022-08-30 20:59:14 +01:00
Michael Walker
2721fb7fc2 Fix a couple of CHANGELOG typos 2022-08-30 20:02:34 +01:00
Michael Walker
7e09eae348 Release tasty-dejafu-2.0.0.9 2022-08-30 19:29:35 +01:00
Michael Walker
9eb08337d8 Remove inaccurate comments about sharing
The `testDejafus` functions in hunit-dejafu and tasty-dejafu say that
they share work.  This isn't true, and actually hasn't been true since
discard functions were introduced in 2017 by db95dde, since that
commit removed the sharing of traces.
2022-08-30 13:41:53 +01:00
Michael Walker
21e1e10e35 Bump patch versions 2021-08-15 13:10:23 +01:00
Michael Walker
e52f1a0ab7 Remove reference to freenode in READMEs 2021-08-15 13:10:23 +01:00
Michael Walker
fd74b1ba65 tasty-dejafu-2.0.0.7 release 2020-12-27 22:12:06 +00:00
Michael Walker
0cc21104ca Bump upper bound of tasty to <1.5
https://github.com/commercialhaskell/stackage/issues/5795
2020-12-27 22:12:06 +00:00
Michael Walker
9651be88be dejafu-2.4.0.0, hunit-dejafu-2.0.0.4, tasty-dejafu-2.0.0.6 2020-07-01 00:29:37 +01:00
Michael Walker
a42851807b tasty-dejafu-2.0.0.5 2020-06-24 17:28:37 +01:00
Michael Walker
da8da501bc Relax upper bound on random to <1.3 2020-06-24 17:28:37 +01:00
Michael Walker
b3eafffc56 hunit-dejafu-2.0.0.3, tasty-dejafu-2.0.0.4 2020-05-14 13:50:12 +01:00
Michael Walker
b20aeb4f85 hunit-dejafu-2.0.0.2, tasty-dejafu-2.0.0.3 2020-05-10 23:05:07 +01:00
Michael Walker
198e3605a7 tasty-dejafu-2.0.0.2 2020-05-10 21:57:05 +01:00
Michael Walker
816bdb9505 Bump tasty upper bound to <1.4 2020-05-10 21:57:05 +01:00
Michael Walker
a7869aba17 concurrency-1.7.0.0, dejafu-2.1.0.0, {hunit,tasty}-dejafu-2.0.0.1 2019-03-24 02:29:43 +00:00
Michael Walker
a15967975f Prepare release 2019-02-12 20:15:52 +00:00
Michael Walker
a053561ab4 Update CHANGELOGs 2019-02-12 18:13:42 +00:00
Michael Walker
129c21912e Implement effect-free concurrency invariants 2019-02-02 18:33:17 +00:00
Michael Walker
da474b5dcf Turn 'Program' typeclass into a GADT
With careful application of typeclass instances to this GADT, and by
redefining 'ConcT' in terms of it, this solves the type inference
problem and removes the need for the 'basic' function.  This approach
also has less newtype wrapping/unwrapping, and so is probably a step
in the right direction even without the type inference advantages.

The diff is quite big because things have needed to migrate between
modules to avoid the import graph getting even worse.
2019-02-02 01:38:39 +00:00
Michael Walker
d375387784 Replace dontCheck/subconcurrency with new Program class
The 'Program' is the new formulation of dejafu unit tests.  A
'Program' is one of three types:

- A 'ConcT', which is as before.

- A 'WithSetup', which corresponds to 'dontCheck'.

- A 'WithSetupAndTeardown', which corresponds to 'subconcurrency'.

This more new formulation makes it impossible to nest 'withSetup' (the
replacement for 'dontCheck') or 'withSetupAndTeardown' (the
half-replacement for 'subconcurrency'), by as these functions take a
'ConcT' as their argument and produce a 'Program WithSetup' or
'Program WithSetupAndTeardown'.

The testing functions have all been generalised to work with this
'Program' type.
2019-02-02 01:38:39 +00:00
Michael Walker
17739e6ec6 Remove explicit TypeSynonymInstances
It is implied by FlexibleInstances.
2019-02-01 23:14:37 +00:00
Michael Walker
ac35055beb Remove unnecessary CPP 2019-02-01 23:14:31 +00:00
Michael Walker
c17f66303a Remove deprecated functions & types 2019-01-20 14:24:46 +00:00
Michael Walker
c754c1f3d6 Prepare releases 2019-01-20 01:10:34 +00:00
Michael Walker
5b93fbd8d5 Re-export 'Condition' from {hunit,tasty}-dejafu 2019-01-20 00:07:17 +00:00
Michael Walker
02467da2ac Rename Failure to Condition 2019-01-20 00:07:17 +00:00
Michael Walker
fa658dcf06 dejafu-1.11.0.4 & tasty-dejafu-1.2.0.8 2018-12-02 10:43:20 +00:00
Michael Walker
dd462357c9 Bump tasty upper bound 2018-12-02 10:39:42 +00:00
Michael Walker
0088f21ade concurrency, dejafu, hunit-dejafu, tasty-dejafu release 2018-07-01 13:31:23 +01:00
Michael Walker
039295ef41 Rename CRef to IORef 2018-07-01 12:45:43 +01:00
Michael Walker
93f284b366 dejafu-1.10.0.0, hunit-dejafu-1.2.0.5, tasty-dejafu-1.2.0.6 release 2018-06-17 11:21:43 +01:00
Michael Walker
1f82a0adc5 dejafu-1.9.0.0, hunit-dejafu-1.2.0.4, tasty-dejafu-1.2.0.5 releases 2018-06-10 01:42:48 +01:00
Michael Walker
02e0442b84 dejafu-1.8.0.0, hunit-dejafu-1.2.0.3, tasty-dejafu-1.2.0.4 releases 2018-06-03 11:29:25 +01:00
Michael Walker
e6610c9d3d dejafu-1.7.0.0, hunit-dejafu-1.2.0.2, tasty-dejafu-1.2.0.3 releases 2018-06-03 02:46:00 +01:00
Michael Walker
2dd213efa5 tasty-dejafu-1.2.0.2 release 2018-05-12 07:28:57 +01:00
Michael Walker
3497eb39a9 Bump upper bound of tasty to <1.2
https://github.com/fpco/stackage/issues/3620
2018-05-12 07:26:41 +01:00
Michael Walker
e60ed883cd dejafu-1.6.0.0 + {hunit,tasty}-dejafu-1.2.0.1 release 2018-05-11 02:16:32 +01:00
Michael Walker
0e00f8aec3 Prepare releases 2018-03-28 19:05:15 +01:00
Michael Walker
35c2069b89 Drop GHC 7.10 support 2018-03-25 10:28:20 +01:00
Michael Walker
2a3f442e95 Prepare dejafu, hunit-dejafu, tasty-dejafu release 2018-03-17 18:43:16 +00:00
Michael Walker
34f6358e86 Remove mentions of docs.barrucadu.co.uk 2018-03-11 22:49:51 +00:00
Michael Walker
d1d3f186b7 Prepare dejafu, hunit-dejafu, and tatsy-dejafu release 2018-03-06 18:57:27 +00:00
Michael Walker
20178ef751 Prepare dejafu, hunit-dejafu, and tasty-dejafu release 2018-03-06 17:25:49 +00:00
Michael Walker
89c14ff2f7 Add *WithSettings to Test.Tasty.DejaFu and deprecate *Discard 2018-03-04 12:38:51 +00:00
Michael Walker
c36685b53e Make all settings other than Way and MemType optional 2018-03-04 02:56:08 +00:00