Dunno if this can help you:

https://github.com/lprefontaine/clara-rules/blob/master/project.clj

I run tests with :

lein cljsbuild test-cljs

If I my memory is not fooling me.
There might be a better way but this is what I had time to tweak this weekend.

You need to setup phantomjs, etc...look at the phantomjs folder in the project.

Luc P.

Sent from my iPhone

> On Jul 1, 2015, at 00:03, Nathan Marz <nathan.m...@gmail.com> wrote:
> 
> I figured out a way to do it by manually launching a ClojureScript REPL, 
> writing a test runner script, and then invoking that script at the REPL, like 
> so: https://github.com/nathanmarz/specter/blob/cljs/DEVELOPER.md
> 
> Still wondering if there's a more straightforward way to do this.
> 
> 
>> On Tuesday, June 30, 2015 at 7:20:58 PM UTC-4, Nathan Marz wrote:
>> I'm trying to get Specter's tests running under ClojureScript. I can run the 
>> tests manually in a REPL just fine, but I cannot figure out a 
>> straightforward way to run all the tests like you can in Clojure with "lein 
>> test". 
>> 
>> Here are the tests I'm trying to run, which are a mix of tests defined using 
>> test.check and cljs.test: 
>> https://github.com/nathanmarz/specter/blob/cljs/test/com/rpl/specter/core_test.cljc
>> 
>> I've tried the instructions in 
>> http://abratukhin.blogspot.com/2015/03/how-to-set-up-unit-tests-in.html but 
>> the cemerick.cljs.test package does not seem to run test.check tests defined 
>> with defspec. 
>> 
>> How can I set up a runner to run my tests with a one line command at the 
>> terminal?
> 
> -- 
> 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.

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

Reply via email to