testing

Testing tools, testing philosophy & methodology...
tianshu 2019-04-29T21:24:55.010800Z

anyone have an idea to naming the test case in clojure.test/are? if I have

(t/are [a b c]
  (= c (f a b))
  1 1 0
  1 0 1))
no matter which case failed, will get the same information.

tianshu 2019-04-29T21:27:11.011900Z

what I can do is

(t/are [desc a b c]
  (= [desc c] [desc (f a b)])
  "case 1" 1 1 0
  "case 2" 1 0 1))
I don't think this is a good idea though.