test-expect actually only depends on test-is for its own tests, and I'm planning on breaking the tests out into their own file. I thought it was an interesting idea having the tests and code in the same file, but in practice it ended up being less attractive than anticipated.
- Matt On Mar 13, 7:39 am, Korny Sietsma <ko...@sietsma.com> wrote: > Hi folks - are there any frameworks out there for mocking? > Stubbing functions is pretty straightforward (and I see that fact comes with > a stubbing function built in), but I'd really like something that can do > mocking and mock expectations - something similar to stub, but with checking > that the stubbed calls actually happen an expected number of times. > > A bit of googling > findshttp://github.com/mclark/test-expect/tree/masterwhichlooks nice, > though I'm not sure about depending on test-is (I was > planning to use 'fact'), > and a blank project athttp://github.com/amitrathore/conjure/tree/master > and not much else. > > Any other options out there? > > - Korny > -- > Kornelis Sietsma korny at my surname dot com > kornys on gmail, twitter, facebook, etc. > "Every jumbled pile of person has a thinking part > that wonders what the part that isn't thinking > isn't thinking of" --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---