{"action":"created","issue":{"url":"https://api.github.com/repos/fpco/store/issues/17","repository_url":"https://api.github.com/repos/fpco/store","labels_url":"https://api.github.com/repos/fpco/store/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/fpco/store/issues/17/comments","events_url":"https://api.github.com/repos/fpco/store/issues/17/events","html_url":"https://github.com/fpco/store/issues/17","id":153679002,"number":17,"title":"Better approach to running tests on many generated values","user":{"login":"mgsloan","id":22570,"avatar_url":"https://avatars.githubusercontent.com/u/22570?v=3","gravatar_id":"","url":"https://api.github.com/users/mgsloan","html_url":"https://github.com/mgsloan","followers_url":"https://api.github.com/users/mgsloan/followers","following_url":"https://api.github.com/users/mgsloan/following{/other_user}","gists_url":"https://api.github.com/users/mgsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/mgsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgsloan/subscriptions","organizations_url":"https://api.github.com/users/mgsloan/orgs","repos_url":"https://api.github.com/users/mgsloan/repos","events_url":"https://api.github.com/users/mgsloan/events{/privacy}","received_events_url":"https://api.github.com/users/mgsloan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fpco/store/labels/breaking%20change","name":"breaking change","color":"d93f0b"},{"url":"https://api.github.com/repos/fpco/store/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/fpco/store/labels/testing","name":"testing","color":"1d76db"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-08T21:37:45Z","updated_at":"2016-05-31T02:50:04Z","closed_at":null,"body":"I picked smallcheck to generate values for the tests, for the following reasons:\r\n\r\n* Easy derivation for ADTs (compared to quickcheck)\r\n\r\n* Simply conceptual model for the 'serial' instances\r\n\r\nHowever, it isn't quite ideal for this, for the following reasons:\r\n\r\n* No way to limit the time or number of things tested, just an arbitrary depth\r\n\r\n* Doesn't seem to report the value used when there's an exception\r\n\r\n* We don't really use much of the fancy features.  We do care about some form of exhaustiveness (using every constructor), but beyond that depth, we mostly care about not taking a long time to test\r\n\r\n* The default numeric instances focus on values near 0, and don't include minBound or maxBound.\r\n\r\n* Error cases for some instances - https://github.com/feuerbach/smallcheck/pull/34\r\n\r\nThe main thing is that there doesn't seem to be any reasonable way for me to pick a depth that works for all tests."},"comment":{"url":"https://api.github.com/repos/fpco/store/issues/comments/222581357","html_url":"https://github.com/fpco/store/issues/17#issuecomment-222581357","issue_url":"https://api.github.com/repos/fpco/store/issues/17","id":222581357,"user":{"login":"mgsloan","id":22570,"avatar_url":"https://avatars.githubusercontent.com/u/22570?v=3","gravatar_id":"","url":"https://api.github.com/users/mgsloan","html_url":"https://github.com/mgsloan","followers_url":"https://api.github.com/users/mgsloan/followers","following_url":"https://api.github.com/users/mgsloan/following{/other_user}","gists_url":"https://api.github.com/users/mgsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/mgsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgsloan/subscriptions","organizations_url":"https://api.github.com/users/mgsloan/orgs","repos_url":"https://api.github.com/users/mgsloan/repos","events_url":"https://api.github.com/users/mgsloan/events{/privacy}","received_events_url":"https://api.github.com/users/mgsloan/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T02:50:04Z","updated_at":"2016-05-31T02:50:04Z","body":"Breaking change, since we'd remove the test utilities from the library."}}
{"actor":{"display_login":"mgsloan"}}