clojure-maven-plugin
clojure-maven-plugin copied to clipboard
ClojureScript tests?
Hi,
I have a Clojure + ClojureScript project using cljc that I'd like to test using Maven. Both the Clojure and ClojureScript versions need to be tested at the same time.
Is that possible using clojure-maven-plugin?
Currently there's no support for ClojureScript at all so I guess no. First step would be having some form of compile-js goal or something I guess.
I've never looked at ClojureScript so not sure how you compile to that target - any ideas?
I'm not an expert either. Would it be possible to trigger leiningen CljureScript builds perhaps?
Or maybe run some Clojure code that fires off the ClojureScript tests?
data.xml uses a testsuite runner based on nashorn: https://github.com/clojure/data.xml/blob/0599423f9f18c09527e2abb56f80ed309e6df3a1/src/test/resources/clojure/data/xml/cljs_testsuite.clj
Looks like an interesting idea - thanks @bendlas !