Intrigued by this conversation I sat down to see how this could be done in Boot.
I modified the cljs-example project to include a basic testing setup: https://github.com/martinklepsch/boot-cljs-example/tree/basic-cljs-test You can read some notes about it at the beginning of the the Readme. The amount of code required to make this work is surprisingly little: https://github.com/martinklepsch/boot-cljs-example/blob/basic-cljs-test/build.boot#L26-L33 On Tuesday, November 25, 2014 2:15:34 PM UTC+1, Colin Yates wrote: > Hi, thanks Mikey. > > It seems the huge benefit this has over "lein auto cljsbuild test" is that > the compilation step is significantly cheaper (~1 second). > > Thanks a bunch. > > On Tuesday, 25 November 2014 13:03:28 UTC, Mikey Griffiths wrote: > > Hi Colin, > > > > There's an outstanding PR to add an auto-test target to lein-cljsbuild: > > https://github.com/emezeske/lein-cljsbuild/pull/222 > > > > In the meantime, you can make it work using the :notify-command feature of > > cljsbuild. See this blog post: > > http://noprompt.github.io/clojurescript/testing/ruby/2014/01/25/autotesting-clojurescript.html > > > > Thanks, > > > > Michael -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
