Fork me on GitHub
#test-check
<
2016-12-21
>
ag19:12:07

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

ag21:12:50

can I run multiple assertions in defspec ?

ag21:12:11

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

ag21:12:15

what if?

ag21:12:20

should I just use and ?

gfredericks22:12:44

which obscures which leg failed when something fails

gfredericks22:12:02

that sort of thing might improve in the future