test2junit icon indicating copy to clipboard operation
test2junit copied to clipboard

Feature request: Using clojure test and test2junit as a replacement for junit test classes

Open 30atm opened this issue 7 years ago • 1 comments

Hi, I work on a product built using Java and is in production for almost a decade. The code base is quite large and is maintained by dozens of people. Eclipse is the IDE. We don't use either Maven or ANT. It is built using the default eclipse builder.

We will not move it out of Java anytime soon. I, however, want to use clojure.test as a replacement for Junit classes. I want to write my unit tests in clojure. Run them using a Junit runner inside eclipse via eclipse's Junit runner menus and buttons. (There is a Jenkins CI process down the line that runs the unit tests via separately for entire project. so the tests should be executable via Jenkins as well) The test reports must be exported so that eclipse can display them in proper format.

I found a tool that provides a Junit runner for clojure tests: . But it is not licensed properly.

Please can test2junit be extended to accommodate my requirement.

30atm avatar Jun 06 '17 13:06 30atm

Hi,

thank you very much for your interest in test2junit and for opening this issue/feature request.

Unfortunately, I am currently very occupied and thus reply with quite a long delay.

Just to double check: Did you have a look at the Eclipse-based Counterclockwise Clojure IDE? http://doc.ccw-ide.org/documentation.html

Maybe Counterclockwise already fulfils your needs. However, I do not have real experience with Counterclockwise so I do not know, e.g., if you can install Counterclockwise as Eclipse plug-in to your existing Eclipse installation or if you have to use the pre-bundled Counterclockwise distributable etc.

I will try to look into this issue as my time permits. However, unfortunately, my time is currently very limited. I will put information about updates in this thread.

Thank you very much again and cheers,

Ruediger

ruedigergad avatar Jun 18 '17 07:06 ruedigergad