Starting with version 0.2.2, clojurescript.test ships with a node.js
test runner. Instructions for how to configure your projects to use
node.js to run clojurescript.test tests can be found in the readme:
https://github.com/cemerick/clojurescript.test
I have one public project that is now configured to use node, pprng;
here's the change I made to switch to node for running tests there:
https://github.com/cemerick/pprng/commit/a9b0906c8f7e3e9d7b702c125fe8e29e50e5de50
This is a big deal insofar as, at least for the couple of projects with
nontrivial test runtimes I've tested so far, node.js is ~2.5x faster
than phantomjs. If your project doesn't need browser features (DOM,
IndexedDB, etc), then I'd recommend switching your tests over.
Finally: I had little to do with this enhancement. All thanks should go
to Michael Glaesemann for the contribution, and Roman Scherer for
testing it prior to release. :-)
Cheers,
- Chas
--
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.