On Dec 21, 7:16 pm, Phil Hagelberg <p...@hagelb.org> wrote:
> If you're already using swank then you can try clojure-test-mode; it
> clears out all deftests in between test runs.
>
> https://github.com/technomancy/clojure-mode/blob/master/clojure-test-...
>
> It also highlights failures in the test buffer for better feedback.

clojure-test-mode is pretty nice, but is there any way to make its
test namespace naming convention configurable?

It currently expects src/com/company/project/file.clj to correspond to
test/com/company/project/test/file.clj. I prefer test/test/com/company/
project/file.clj, i.e., just prefix the whole namespace with "test",
rather than insert it as the penultimate namespace element. I find it
much easier to tell, at a glance, if I'm looking at a test namespace
if it just starts with "test", rather than hunting through the entire
dotted string.

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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