There is also a jar of v8 (https://github.com/circleci/clj-v8 https://clojars.org/clj-v8) which can run js scripts in a v8 subprocess. With some plumbing code in Clojure you could run your tests in v8 as a jar, but again you won't be able to test anything that requires a browser stack.
If you need a browser stack phantomjs is probably the best choice (fastest, most mature, largest community, etc). However there are some other options: https://gist.github.com/evandrix/3694955 Some are java-based (e.g. HtmlUnit) and are likely to have maven packages. However you are going off the beaten path and depending on what you are testing you may not be adequately testing in "real-world browser" conditions. On Wednesday, February 11, 2015 at 7:22:54 PM UTC-6, David Nolen wrote: > > You can run tests in any REPL that ships with ClojureScript - we include > two JVM based ones Rhino and Nashorn. Rhino is older and more mature. > Nashorn probably needs some further work to be good for testing. Patches > welcome. Both of these options suffer from different forms of slowness > (Rhino is just slow, Nashorn is slow to start) so I'm not sure I'd > recommend them wholeheartedly. But they are there and and I'm happy to see > them improved by the community for your purposes in whatever way they can > reasonably be. > > David > > On Wed, Feb 11, 2015 at 8:16 PM, Elric Erkose <elric....@gmail.com > <javascript:>> wrote: > >> Thanks, I've seen figwheel. It doesn't address what I'm asking. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com >> <javascript:> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.