Not so much mocking...and not so much stubbing, but...

1 view
Skip to first unread message

Ryan Briones

unread,
Dec 26, 2008, 10:46:58 PM12/26/08
to Columbus Ruby Brigade
http://github.com/jonathanpenn/rdingus/tree/master

Found this while looking at my github private feed via Jim Weirich. Looks interesting. The reason I'm posting here is that I believe Steve Harmen was looking to do something like this a while back and Joe was going to try hacking this into flexmock. The project's not complete, but compelling. Word up.

--
Ryan Carmelo Briones

Joe Fiorini

unread,
Dec 27, 2008, 12:39:25 AM12/27/08
to colum...@googlegroups.com
Thanks for posting! RDingus was started at a recent Cleveland Ruby Brigade meeting and being maintained by Jonathan Penn. We're continuing work on it at the next CleRB meeting. If anyone is interested in reading more on our progress check out our Google group: http://groups.google.com/group/clerb.

We'd love to hear some thoughts as well. Obviously it's still under heavy development.
--
joe fiorini
http://www.faithfulgeek.org
// freelancing & knowledge sharing

Joe OBrien

unread,
Dec 27, 2008, 10:45:54 AM12/27/08
to colum...@googlegroups.com
On Dec 27, 2008, at 12:39 AM, Joe Fiorini wrote:

> The reason I'm posting here is that I believe Steve Harmen was
> looking to do something like this a while back and Joe was going to
> try hacking this into flexmock

Yes, damn than steve harman anyway for putting this bug in my ear.

I've forked flexmock and am playing with it. No promises on
completion but I'm getting to the

f = flexmock('foo')

do_something_with(f)

f.should_have_received(:bar).twice

It's not too hard to implement. The trick is seeing if it can live
with both. If your mock needs to return a value, you need to set that
expectation early.

If anyone is interested in pairing on it sometime I would love another
set of eyes.

-Joe
_______________
Joe O'Brien, artisan
EdgeCase
theedgecase.com

614/453-5527

Reply all
Reply to author
Forward
0 new messages