> > Hi Folks > firstly a big thank you for all the help so far. I posted the original question because I've been looking at Midje which has the ability to stub out a function but have the stub function return different data each time it is called (it also counts the number of times the stubbed out function is called). Still being a Clojure newbie (and having heard that the Midje codebase is complex) I thought I'd ask how this could be done. I know about with-redefs so figured out how to stub a function but was struggling with calling something that returned a set of values.
So basically this is a learning exercise for me. cheers Dave -- -- 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/groups/opt_out.