This post originated from an RSS feed registered with Ruby Buzz
by Peter Williams.
Original Post: Mocking
Feed Title: Peter Williams' Weblog
Feed URL: http://barelyenough.org/blog/tag/ruby/feed/
Feed Description: Random thoughs about software development, and anything else I find interesting.
Mr Whitney recently posted an article in which he described mock objects as “bug aggregators”.
I once held a similar point of view.
Back then my belief was that test doubles (mock, stub, etc)
should only be used when real
objects would not work, either because they were too hard to setup or
because they were too slow. Recently, [...]