I'm after some advice: Firstly I'd like to be able to specify in my tests that sometimes I want extra information reported (when I'm actively working on that module), and sometimes I just want it to do the checks and report ok/ failed.
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. Perhaps I could make a script clj-test foo.clj <verbose> that loads the file, sets a *verbose-tests* flag, and executes (run-tests). Or are there other approaches? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
