cljunit icon indicating copy to clipboard operation
cljunit copied to clipboard

Open CLJUnit to work with Maven Tycho (for instance)

Open laurentpetit opened this issue 11 years ago • 1 comments

Hello,

I'm trying to get some clojure.test tests be executed via maven tycho surefire tests plugin phase.

That way, the tests have access to the right classpath, potentially seeing eclipse classes, etc., as provisioned via tycho (in a MANIFEST-FIRST manner).

I run SWTBot tests, and thus there's a specific JUnit runner which is somehow required: @RunWith(SWTBotJunit4ClassRunner.class)

I'm ok to find a middle-way solution, at least at first, which may involve replicating some work done inside ClojureRunner.

But I see that some classes are made package-protected, preventing me from using them (e.g. ClojureTester).

I think I'll first fork cljunit and play with some ideas, but wanted to know your position to accept pull requests for this topic?

laurentpetit avatar Jul 04 '13 13:07 laurentpetit

Hi Laurent,

Feel free to experiment - I'm happy to accept any pull requests if they make the project more useful!

mikera avatar Jul 04 '13 13:07 mikera