Mocking framework

2011-06-28 Thread Erik Bakstad
Hi, I'm currently working on my first real Clojure project, and I find myself wanting a mocking tool. So I was wondering what you are using? I tried googling, but I can't seem to find the Mockito of the clojure world. Searching for a mocking tool in Clojure it looks like there is a lot of small

Re: Mocking framework

2011-06-28 Thread Ola Ellnestam
Hi Erik, Take a closer look at Midje, especially https://github.com/marick/Midje/wiki/Metaconstants I'm not an subject matter expert but to me it's close enough to mocking/stubbing. Cheers, Ola Erik Bakstad skrev 2011-06-28 08:56: Hi, I'm currently working on my first real Clojure

Re: Mocking framework

2011-06-28 Thread gaz jones
jay fields has a good blog post on this: http://blog.jayfields.com/2010/09/clojure-mocking.html On Tue, Jun 28, 2011 at 2:52 AM, Ola Ellnestam ola.ellnes...@agical.se wrote: Hi Erik, Take a closer look at Midje, especially https://github.com/marick/Midje/wiki/Metaconstants I'm not an

Re: Mocking framework

2011-06-28 Thread László Török
...and a classic (not clojure specific) http://codebetter.com/gregyoung/2008/02/13/mocks-are-a-code-smell/ (Disclaimer: I don't necessarily share Greg's opinion, but interesting nonetheless) 2011/6/28 gaz jones gareth.e.jo...@gmail.com jay fields has a good blog post on this:

Re: Mocking framework

2011-06-28 Thread Brian Marick
On Jun 28, 2011, at 7:23 AM, László Török wrote: ...and a classic (not clojure specific) http://codebetter.com/gregyoung/2008/02/13/mocks-are-a-code-smell/ One thing I'm trying to emphasize with Midje is that mocking in the context of a functional language is (can be) about the logical