On Sat, Oct 18, 2008 at 12:53 AM, Scott Taylor
<[EMAIL PROTECTED]> wrote:
>
> In Javascript, it might look more or less like this:
>
> var old_method = obj[my_method];
> my_obj[my_method] = my_return_value;

That's an interesting syntax comparison, thanks, but not really what I
was reacting to.  The statement of import (with emphasis added) was
""The dynamic nature of JavaScript makes mocking frameworks MOSTLY
UNNECESSARY."

This doesn't imply a simpler mocking framework, as you describe.  It
implies a fundamental mindshift in how testing gets done.

I should probably stop speculating about it here and just do some
reading about it.  (Or some coding, but I've already invented two
"distract myself" projects this week and don't need a third in a new
language.)



-- 
Have Fun,
   Steve Eley ([EMAIL PROTECTED])
   ESCAPE POD - The Science Fiction Podcast Magazine
   http://www.escapepod.org
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to