Doo appears to be the best option for running cljs.test tests:
https://github.com/bensu/doo
Cheers,
- Chas
On 08/27/2015 08:42 AM, Michael Sperber wrote:
I'm despairing a bit on how to run cljs.test tests from a command line / script
or some other automated fashion so it can happen quickly during development.
Forgive me if this is a stupid question, but I've scoured the web
for answers with no clear results.
How is this done these days?
I've tried Figwheel, as per:
https://nvbn.github.io/2015/06/08/cljs-test/
However, it does not update correctly when I add or delete tests.
I'd really like to use Nashorn, but am unsure on how to even load the
code correctly. My latest attempt gave me this:
jrunscript -e "var global = this" -f resources/public/js/test-nashorn.js
script error in file resources/public/js/test-nashorn.js : TypeError: Cannot read
property "cljs$core$IFn$_invoke$arity$2" from undefined in
resources/public/js/test-nashorn.js
(I completely despaired trying :optimizations :none.)
So am I stuck with PhantomJS, which just seems phenomenally ugly?
(My project includes React, so it seems I have to use an old version
of phantomjs.)
Any help would be much appreciated!
Regards,
Mike
--
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.