No, `cljsbuild auto` only compiles. There's a PR for this for v2.x, but I haven't gotten to it yet.

https://github.com/emezeske/lein-cljsbuild/pull/222

- Chas

On 02/14/2014 03:54 PM, Chris Zheng wrote:
Is there a way of doing autotesting of clojurescript code?

I'm using 0.2.2 and when I run lein cljsbuild test, it only seems to test once.

My settings are:

   :cljsbuild {:builds [{:source-paths ["src" "test"]
                        :compiler {:output-to "target/cljs/testable.js"
                                   :optimizations :whitespace
                                   :pretty-print true}}]
              :test-commands {"unit-tests" ["phantomjs" :runner
                                            "this.literal_js_was_evaluated=true"
                                            "target/cljs/testable.js"]}}


--
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.

Reply via email to