test-check

ag 2016-12-21T19:06:07.000050Z

How could I generate data based on concrete collection. e.g. I have a predefined list of accounts, need a generator that would generate data for each of the account in that list. e.g. (for [a accounts] (-> :account/spec s/gen gen/generate (merge a))) - where :account/spec is a spec of map. This snippet does not return a generator though, and I need a generator

ag 2016-12-21T21:43:50.000052Z

can I run multiple assertions in defspec ?

ag 2016-12-21T21:44:11.000053Z

I know, I probably shouldn’t, but...

ag 2016-12-21T21:44:15.000054Z

what if?

ag 2016-12-21T21:45:20.000055Z

should I just use and ?

2016-12-21T22:04:29.000057Z

yep

2016-12-21T22:04:44.000058Z

which obscures which leg failed when something fails

2016-12-21T22:05:02.000059Z

that sort of thing might improve in the future