I write a search application, and to test it I need some util
functions such as "test-search" to run and see the result. I.e. this
function cannot be created as unit test - there's just no one correct
answer, and only human can understand it. So, test directory is not
the place to put such functions to.
Another way is to put them into source code files itself. But
1) they are not related to the file itself, and I don't want them to
be compiled or loaded at runtime;
2) in these tests for simplicity I use absolute paths for resources on
my disk, and if they will be included in production version,
namespaces may fail to be loaded.

So, the question is: what is the most appropriate place to put such
human understandable tests to?

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