On Sep 29, 4:00 am, Timothy Pratley <[email protected]> wrote:
> Secondly I'd like to know how to invoke my tests conveniently. Options
> I've explored:
> 1) put (run-tests) at the bottom of the file. Great for while I'm
> coding, bad when including as a library.
> 2) at the REPL (load-file "foo.clj")  (ns foo) (run-tests). Doesn't
> give line numbers, doesn't reload dependencies.

I usually do this at the REPL:
(use 'clojure.test)
(require 'foo :reload-all)
(run-all-tests)

-SS
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to