-
clojure friends: i am thinking about spec and generative testing for the a clojure compiler i am working on but not sure how that would work
-
first off, does spec support multimethods?
-
second, if i need to test e.g. interop, i need to generate ‘(A/B c d) where A is a valid class B is a valid method and c/d are valid args
-
do i reflect on all types to get that info? it sounds like a ton of work compared to writing a handful of tests, but maybe im not getting it
-
that said the idea of a generatively tested compiler is very exciting