On Dec 22, 8:54 am, Constantine Vetoshev <gepar...@gmail.com> wrote:
> 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.

I used to use that naming scheme (I didn't have any automated way of
switching between the two), but I found that since switching to clj-
stacktrace, it was no longer a problem; it makes it much easier to
tell test and implementation namespaces apart. You will also want to
require uniquify and set uniquify-buffer-name-style to 'forward.

Anyway, there's no way to do what you want now, but I'd be happy to
take a patch that could add it.

-Phil

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