test-check

2016-11-14T12:42:35.000138Z

I'm trying to figure out if prop/for-all could be changed to support clojure.test assertions without breaking anything

2016-11-14T12:42:52.000139Z

either all the time, or only when using defspec (not sure which of those is better to aim for)

nberger 2016-11-14T12:56:44.000140Z

That would be awesome. At first glance I'd say that having it in defspec and providing an easy way to use it when not in defspec should be enough

2016-11-14T13:04:20.000141Z

I was hoping to make it just start working, without adding any new functions/macros

2016-11-14T13:04:46.000142Z

i.e., if you put assertions in the body of your prop/for-all, it bases pass/failure on that instead of the expression return value

2016-11-14T13:05:44.000143Z

if new functions/macros are okay, then just adding a clojure.test.check.clojure-test/for-all would work

2016-11-14T13:07:44.000144Z

actually I just thought about it a bit, and the edge cases involved in having both behaviors in the same macro are kind of nasty

2016-11-14T13:08:26.000145Z

edge cases meaning how things play out if you accidentally do or don't include assertions

2016-11-14T13:08:44.000146Z

I may have just talked myself out of it