Closed arichiardi closed 8 years ago
Hi @arichiardi, thanks for the work, specially the docstring.
While the second arity (doo-all-tests #"my-namespace")
works, the first arity doesn't. Multi-arity macros do not work exactly like functions. If you try (doo-all-tests)
, it fails with a clojure.lang.ArityException
, and it is explained here. Also, notice the syntax quote used by the underlying cljs.test/run-all-test
macro. Please fix that, and I'll merge.
Oh right I always forget that
Done ;)
Thanks!
:+1:
As anticipated, this is the easy change, I have also added the same doc string that you can find in
cljs.test
. I kept it very simple, forwarding and not checking for now, waiting for new cool ideas that will use strings and not regex. Let me know if everything is ok.PS.: testing it in my local rep correctly prunes all unwanted namespaces.