Alex
Not a member
Alex's latest activity
Thursday, November 11 2010
73
Consider adding jMock custom actions to provide side effect functionality
was updated
in mocha
-
Alex commented at 7:42 PMHere's some code pulled from my tumblr-sync code.
I wanted to be able to get actual numbers for saves called etc. so that I could ensu...
-
Alex commented at 6:30 PMTo add a use case, I mocked an API and was using some test data (tumblr posts: 5 normal, 4 pics, 3 quotes etc.)
To check things were saving as they should, I ne...
-
Alex commented at 6:29 PMAm I wrong, or is the JMock custom action essentially the same thing as this patch?
JMock uses 'will', I used 'runs'.
jmock: oneOf (mangoTree).pickFruit(with(an...
Sunday, October 17 2010
69
Allow unstubbing of methods
was updated
in mocha
-
Alex commented at 5:40 PMI created a fix for this - http://github.com/alexheaton/mocha (alexheaton/unstubs or master branches)
I'd really welcome some feedback, I'm sure there are thing...