Brian Takita wrote:
On Sun, Sep 21, 2008 at 11:17 AM, Joseph Wilk <[EMAIL PROTECTED]> wrote:
I've been doing further work on adding the Test Spy to the RR mocking
framework.
Awesome! Do you have a clone available?
I'm not quite ready to push my work up to Github. I've been trying lots
On Sun, Sep 21, 2008 at 11:17 AM, Joseph Wilk <[EMAIL PROTECTED]> wrote:
> I've been doing further work on adding the Test Spy to the RR mocking
> framework.
Awesome! Do you have a clone available?
>
> During my background research I came across a Spy like mocking framework
> called 'Not A Mock' by
Joseph Wilk <[EMAIL PROTECTED]> writes:
> http://notahat.com/not_a_mock
> http://github.com/notahat/not_a_mock/tree/master
>
> Thought this might be of interest to you Pat.
This is awesome. Thanks, Joseph.
___
rspec-users mailing list
rspec-users@rubyfo
I've been doing further work on adding the Test Spy to the RR mocking
framework.
During my background research I came across a Spy like mocking framework
called 'Not A Mock' by Pete Yandell.
This comes with Rspec hooks. It uses a similar syntax to what we have
discussed here and as Pat mention
On Mon, Sep 15, 2008 at 9:54 AM, Joseph Wilk <[EMAIL PROTECTED]> wrote:
>>Doesn't RR already support test spy?
> I don't believe so. There is nothing on the github page or anything I
> can spot in the current code in git. The github docs do mention it as
> something they are aiming to do.
No, spies
On Mon, Sep 15, 2008 at 2:28 PM, Pat Maddox <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 15, 2008 at 12:54 PM, Joseph Wilk <[EMAIL PROTECTED]> wrote:
>>>Doesn't RR already support test spy?
>> I don't believe so. There is nothing on the github page or anything I
>> can spot in the current code in git.
On Mon, Sep 15, 2008 at 12:54 PM, Joseph Wilk <[EMAIL PROTECTED]> wrote:
>>Doesn't RR already support test spy?
> I don't believe so. There is nothing on the github page or anything I
> can spot in the current code in git. The github docs do mention it as
> something they are aiming to do.
>
>> o =
>Doesn't RR already support test spy?
I don't believe so. There is nothing on the github page or anything I
can spot in the current code in git. The github docs do mention it as
something they are aiming to do.
> o = stub("stub", :foo => true)
> o.foo
> o.should have_received(:foo)
That sounds
On Mon, Sep 15, 2008 at 7:18 AM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 15, 2008 at 5:09 AM, Joseph Wilk <[EMAIL PROTECTED]> wrote:
>> Thanks to a pointer from lizkeogh.com site I've been discovering the joy
>> of the Mockito (http://mockito.org/) mocking framework for Java. It
>>
On Mon, Sep 15, 2008 at 8:43 AM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 15, 2008 at 7:39 AM, Pat Maddox <[EMAIL PROTECTED]> wrote:
>>> So I'm proposing the idea of adding 'should_have_received' and test_spy
>>> in Rspec:
>>>
>>> ---
>>> x = test_spy('like a mock but more into espi
On Mon, Sep 15, 2008 at 7:39 AM, Pat Maddox <[EMAIL PROTECTED]> wrote:
>> So I'm proposing the idea of adding 'should_have_received' and test_spy
>> in Rspec:
>>
>> ---
>> x = test_spy('like a mock but more into espionage')
>>
>> #Action which does not fail on unexpected method but just records cal
> So I'm proposing the idea of adding 'should_have_received' and test_spy
> in Rspec:
>
> ---
> x = test_spy('like a mock but more into espionage')
>
> #Action which does not fail on unexpected method but just records calls.
> some.action(x)
>
> x.should_have_received(:method).and_returned_with('so
On Mon, Sep 15, 2008 at 5:09 AM, Joseph Wilk <[EMAIL PROTECTED]> wrote:
> Thanks to a pointer from lizkeogh.com site I've been discovering the joy
> of the Mockito (http://mockito.org/) mocking framework for Java. It
> verifies behaviour after the action. It struck me how this matched the
> format
Thanks to a pointer from lizkeogh.com site I've been discovering the joy
of the Mockito (http://mockito.org/) mocking framework for Java. It
verifies behaviour after the action. It struck me how this matched the
format I use in my Ruby cucumber features. Within Rspec if we could use
post behaviour
14 matches
Mail list logo