This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-08
Channels
- # announcements (1)
- # asami (3)
- # babashka (51)
- # beginners (86)
- # chlorine-clover (1)
- # cider (18)
- # clara (5)
- # clj-kondo (6)
- # cljsrn (6)
- # clojure (2)
- # clojure-europe (18)
- # clojure-uk (1)
- # clojurescript (57)
- # clojureverse-ops (2)
- # code-reviews (9)
- # cryogen (11)
- # depstar (5)
- # jackdaw (2)
- # malli (8)
- # nrepl (2)
- # off-topic (66)
- # practicalli (3)
- # reitit (6)
- # shadow-cljs (83)
- # sql (4)
- # vim (24)
- # xtdb (4)
Is there any existing tooling for working with "sub-properties" in test.check?
1. Against a generated input, discriminate between "sub-properties", reporting exactly which failed (as opposed to (and prop-1 prop-2 ...)
which hides that)
2. Ideally, when failing, shrinks and works only against the failing "sub-property"
I know test.chuck
(with a 'U') works for point 1 by allowing to use clojure.test/is
but I don't believe it is too smart about point 2.
3. Failing a sub-property does prevent other sub-properties from being tested (purpose is to "multiplex" generated input which can be expensive to create)