That's really not the answer Elric is looking for. Figwheel does all the
things you're talking about but doesn't provide a javascript execution
environment, which is required for running tests (which you might want for
testing in a CI environment, for example).

If you want a purely leiningen/JVM solution you will need to execute your
tests using rhino or nashorn, both JVM javascript VMs.

Cljsbuild provides rhino hooks, see
https://github.com/cemerick/clojurescript.test for example.

Most people tend to use non-JVM tools for cljs testing because native
engines tend to be faster. Phantom also provides a browser stack, which is
necessary for testing anything dom-related.

You might get more feedback on clojurescript issues by posting on the
clojurescript mailing list.

Stephen

On Thu, Feb 12, 2015 at 10:44 AM, Mike Thompson <m.l.thompson...@gmail.com>
wrote:

>
>
> On Thursday, February 12, 2015 at 6:29:10 AM UTC+11, Elric Erkose wrote:
>>
>> I started looking at coljurescript testing yesterday and find it
>> disappointing that every example I find focuses on pantomjs. I'm looking
>> for a solution that doesn't require external software. By external
>> software, I mean anything that is not "jared" up and accessible through
>> lein. I haven't played with the clojurescript repl. Is there a testing
>> solution that relies on the repl envioment?
>>
>
>
> Sounds like you might be looking for figwheel  -
> https://github.com/bhauman/lein-figwheel   It provides a repl,
> auto-reloading etc.
>
> Here's a template project for the combination of figwheel and reagent:
> https://github.com/gadfly361/reagent-figwheel
>
> On a different track, here's a way to use:"optimizations :none"
> https://github.com/mike-thompson-day8/cljsbuild-none-test-seed
>
> --
> Mike
>
>
>  --
> 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