My response is similar to Brian's: If you want to try something other than clojure.test, you might like https://github.com/jaycfields/expectations
specifically, it plays well with IntelliJ, and gives you an easy way to run all your clojure tests using IntelliJ's built in junit integration. Cheers, Jay On Thu, Dec 1, 2011 at 1:30 AM, Adam Getchell <[email protected]> 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 -- 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
