Hi Brian,

On Sat, Jan 3, 2009 at 12:53 AM, Brian Doyle <brianpdo...@gmail.com> wrote:
> I changed the end of the clj-record/test/main.clj script to this:
>
> main.clj >>>>
> (def files ["core-test" "validation-test" "associations-test"])
> (doseq [file files]
>    (load file))
> (def base-ns (re-find #"^\w*.*\." (str *ns*)))
> (apply test-is/run-tests (map #(symbol (str base-ns %)) files))
> main.clj <<<<

I'm not sure if it was added later or if I just missed the fact that
you could pass a seq of ns strings to run-tests. All I'd seen was
passing a single ns, which led to way too much output if I called it
once per test ns, or running all tests, which was a little silly but
at least made sure I didn't miss anything. Thanks for pointing that
out.
-hume.

-- 
http://elhumidor.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to