I don't know if you got any answers. If you're not wedded to clojure.test, the examples of Midje here may help:
https://github.com/marick/Midje On Dec 1, 2011, at 12:30 AM, Adam Getchell wrote: > Hello, > > I'm porting a scientific application written in SBCL to Clojure. I'd like to > do the right thing by setting up tests to ensure my functions are correct, > and package up the project correctly using Leiningen. > > I've read "Clojure in Action", however, the sample code from Chapter 8, which > details TDD, didn't work in my environment (I'm using IntelliJ + LaClojure). > > I've also read over the Leiningen tutorial here: > https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md which > makes a passing reference to using "lein test". > > However, I haven't put together how I should setup a proper test suite to > generate tests for functions I have defined in, say, a file called > "utilities.clj". > > Any pointers/hints? For example, what do I name a file such that my > "deftests" get invoked by Leiningen correctly? > > Thanks, > > Adam Getchell > -- > "Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en ----- Brian Marick, Artisanal Labrador Now working at http://path11.com Contract programming in Ruby and Clojure Occasional consulting on Agile -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
