I'm creating a library that includes both Clojure and Java code, and would like to be able to run a single test JUnit suite across the entire code base. Seems that this should be possible since they are both running on the JVM and there is good Clojure/Java interop.
However, currently Clojure code seems to favour unit testing done through the clojure.test API using "(run-all-tests)" and friends.
Is there a good way to wrap these Clojure tests in some sort of wrapper so that they can be automatically called from JUnit?
(when I say automatically, I mean without resorting to the manual solution of writing a JUnit test case to wrap and call each Clojure test case individually :-) )