On Friday, February 14, 2014 12:54:41 PM UTC-8, 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"]}}
I wrote a short blog post on a technique I use to get "auto testing" for
ClojureScript.
--
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.