Re: Testing existing java code with clojure tests from ant / gradle

2014-10-16 Thread Sven Richter
Hi, that looks really nice, exactly what I need. I just wonder, how do you integrate the clojure source code into your projects? For example, using gradle, is it enough to have a src/test/clj folder and include the clojure jar in the gradle build as a dependency? How did you do that? Best Regar

Re: Testing existing java code with clojure tests from ant / gradle

2014-10-16 Thread Mikera
I wrote cljunit (https://github.com/mikera/cljunit) to address precisely this problem. cljunit lets you run any clojure.test tests using a simple JUnit test wrapper. This means you get Eclipse integration etc. for free, and it can integrate nicely with any build tools that have JUnit support.

Re: Testing existing java code with clojure tests from ant / gradle

2014-10-15 Thread henry w
maybe someone will jump in with all the answers, but in the mean time here are some pointers. if you are using clojure.test, then test-out https://github.com/arohner/lein-test-out will format the results so they can show up in continuous integration and eclipse as well if you can get somethin