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 [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
