If I need something more complicated in terms of testing my functions I 
usually create a file dev/examples.clj and add dev to the source-paths in 
my project's dev profile. I would require the namespace with my functions 
and put the examples in dev/examples.clj.  The rest of the process is the 
same after that.

In addition, I might create dev/generate.clj if I need to pass lot's of 
arguments to gen-facts/gen-facts-file and wrap calls to those functions in 
a function (e.g., gen-tests/gen-tests-file).

I hope to have examples of these more complicated scenarios in the near 
future. Suffice to say, this ends up being much faster than any other 
workflow I've tried.

David

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to