Commit Graph

26 Commits

Author SHA1 Message Date
Matt Parsons
d66c2d278a
Safer MVar usage (#49)
* Fix stack.yaml file

* Remove unfixable stack files

* Resolve ambiguous import in GHCi

* handle MVars without error

* Consistent messaging

* Add comment
2018-05-10 10:08:06 -06:00
parsonsmatt
b4a69516d2 Allow clients to pass a manager in 2018-05-09 14:30:38 -06:00
Erik Aker
f3b4fcf7a9 Resolve merge conflicts with unbiasedGeneration merge 2017-10-14 08:16:30 -07:00
Julian Arni
66ce50993f Unbias generation of requests. (#19)
* Unbias generation of requests:

     ...so that each endpoint is picked with the same frequency.

     Also, include a test for unbiased generation that measures mean and variance of results.
2017-10-14 07:53:04 -07:00
Erik Aker
f052dc149b Bump HSpec to 2.4.4 and make tests use safeEvaluateExample to capture failure msg 2017-07-15 15:03:06 -07:00
Julian K. Arni
8eb5c334c1 Looser bounds.
Support recent versions of QuickCheck, aeson, http-client, servant,
        servant-client, and servant-server.
2016-10-03 16:30:46 +02:00
Julian K. Arni
86d99239bb Cleanup 2016-08-28 20:23:32 -03:00
Julian K. Arni
0682e353d6 Cleanup 2016-08-28 19:22:43 -03:00
Julian K. Arni
1a24673206 Valid request doc note 2016-08-28 19:15:46 -03:00
Julian K. Arni
2c1152a8c0 Much better errors 2016-08-28 19:15:26 -03:00
Julian K. Arni
b7df33fbe8 Get an error message in. 2016-08-28 13:32:48 -03:00
Julian K. Arni
70fed09866 Start implementing better error messages. 2016-08-01 11:58:10 -03:00
Julian K. Arni
26a6171265 Documentation improvements 2016-05-09 18:20:54 +02:00
Julian K. Arni
eb51069cb5 prelude-compat 2016-05-09 17:49:29 +02:00
Julian K. Arni
c85d41ad79 Better failure tests 2016-04-26 14:43:02 +02:00
Julian K. Arni
9307ea2158 Add new predicates.
* notAllowedContainsAllowHeader
    * getsHaveCacheControlHeader
    * headsHaveCacheControlHeader
2016-04-25 12:32:02 +02:00
Julian K. Arni
b5ee965d1c Documentation improvements 2016-04-25 12:31:47 +02:00
Julian K. Arni
76e3b8e7ec Documentation improvements 2016-04-23 22:36:03 +02:00
Julian K. Arni
d22576bc26 fix serverSatisfies 2016-04-23 19:24:49 +02:00
Julian K. Arni
dbdb948934 wip 2016-04-23 17:08:48 +02:00
Julian K. Arni
d62753b2c5 More predicates work 2016-04-23 14:20:31 +02:00
Julian K. Arni
c187be434d Add ResponseEquality 2016-04-23 12:05:47 +02:00
Julian K. Arni
c1b92215c3 Fix serversEqual and tests. 2016-04-23 11:50:04 +02:00
Julian K. Arni
2050487058 Rewrite.
Being lazy without a new full intepretation isn't paying off.
2016-04-23 01:21:36 +02:00
Julian K. Arni
0d455a9851 Use new client with per-client BaseUrl and Manager.
This may be a step back, and the instances aren't as nice.
2016-04-22 14:18:44 +02:00
Julian K. Arni
72abea9b0f initial commit 2016-04-22 13:00:23 +02:00