Commit Graph

32 Commits

Author SHA1 Message Date
Michael Walker
9af76cc4f2 hunit-dejafu-0.5.0.0 2017-04-08 21:15:32 +01:00
Michael Walker
d3062234fa Make Way a GADT.
Closes #65.
2017-04-08 20:57:25 +01:00
Michael Walker
9c33eff1f7 Add Haddock @since annotations to everything in dejafu/hunit/tasty 2017-04-08 20:21:22 +01:00
Michael Walker
cc27e03d6d Use stylish-haskell to format import lists. 2017-04-08 05:42:25 +01:00
Michael Walker
5cd55a1921 Add an HLint2 config file & fix warnings. 2017-04-08 05:42:25 +01:00
Michael Walker
c6346b7104 Expose Way in hunit-dejafu.
This (finally!) bumps the minimum version of dejafu in hunit-dejafu.
2017-02-20 03:02:33 +00:00
Michael Walker
5accde895e Specialise types in 'Test.DPOR.Internal' and rename.
This breaks backwards compatibility, as things which were polymorphic
are no longer.
2016-12-05 07:36:00 +00:00
Michael Walker
e1162dc033 Add missing module headers to {hunit,tasty}-dejafu. 2016-08-26 11:16:59 +01:00
Michael Walker
75fbad38a1 Rename Deterministic to Conc.
Closes #45
2016-07-21 19:33:49 +01:00
Michael Walker
2f0f51ceb6 Split concurrency modules into a separate package.
The new 'concurrency' package is starting at version 1.0.0.0 because the
API is already very mature (copied from base).

This breaks the dejafu-0.2 compatibility of async-dejafu.

Closes #51.
2016-07-21 19:33:49 +01:00
Michael Walker
2aa2b8f447 Unify IO and ST instances
Closes #44
2016-07-21 19:33:49 +01:00
Michael Walker
d4cb712b50 Make everything build with GHC 8 2016-05-26 13:54:13 +01:00
Michael Walker
c306deb1f9 Support Stackage lts-3, lts-4, and lts-6 2016-05-26 13:08:24 +01:00
Michael Walker
bdf289d84d Add Assertable and Testable instancs to hunit-dejafu 2016-04-28 23:16:51 +01:00
Michael Walker
5acab89d6d Add support for named threads in testing.
This is such a huge change because I had made a LOT of assumptions
about thread IDs being numbers. I also took the opportunity to do
a bit of refactoring with CRef and CVar identifiers.
2016-02-09 18:37:50 +00:00
Michael Walker
5371e74ff0 Make PFL bounding the default 2015-11-30 22:06:43 +00:00
Michael Walker
49a903c6e3 Add newtype for preemption bounds and fair bounds 2015-11-17 19:29:35 +00:00
Michael Walker
24faa57f29 Only show representative failures in autocheck 2015-11-12 14:56:32 +00:00
Michael Walker
06a63dcc33 Merge Conc and ConcIO implementations 2015-11-07 18:07:10 +00:00
Michael Walker
5f78dc5b99 Remove the 't' type parameter from STMIO and ConcIO 2015-11-07 17:19:40 +00:00
Michael Walker
772aba80d0 Make TSO the default memory model. Closes #24. 2015-11-03 19:53:47 +00:00
Michael Walker
4c5bb7fd7b Allow attaching a failure message to results 2015-10-27 17:55:12 +00:00
Michael Walker
3d1d287787 Use PF bounding in {hunit,tasty}-dejafu 2015-10-26 23:11:30 +00:00
Michael Walker
53e738b066 Remove some needless Eq constraints 2015-10-25 17:05:40 +00:00
Michael Walker
a4b4b25b71 Drop needless GADTs 2015-10-08 21:47:28 +01:00
Michael Walker
9144ea4cbf Drop ConcTest/ConcIOTest entirely 2015-10-08 21:15:46 +01:00
Michael Walker
3bb640010a Don't expose ConcTest/ConcIOTest types 2015-10-08 21:09:48 +01:00
Michael Walker
b899253b04 Add dejafu'/dejafuIO' functions 2015-10-08 15:45:05 +01:00
Michael Walker
6ebff392c3 Share traces for ConcTest 2015-10-08 15:28:02 +01:00
Michael Walker
6c6e0eed01 Hide the type parameter inside ConcTest/ConcIOTest 2015-10-08 15:19:43 +01:00
Michael Walker
1c42618ba7 Include names with HUnit tests,a nd generate TestLists where possible 2015-10-08 15:15:13 +01:00
Michael Walker
3c9a3f2ec7 Initial implementation of HUnit integration.
Note: this BREAKS `cabal/stack test` for dejafu!

See dejafu/README.markdown for the work-around.
2015-10-08 12:05:59 +01:00