Re: [rspec-users] testing behaviour or testing code?

2007-09-06 Thread Jay Levitt
On 9/2/2007 11:49 PM, David Chelimsky wrote: > On 9/2/07, Jay Levitt <[EMAIL PROTECTED]> wrote: >> On 9/2/2007 12:43 PM, David Chelimsky wrote: >>> The problem we face is that AR promises huge productivity gains for >>> the non TDD-er, and challenges the thinking of the die-hard TDD-er. >>> >>> I'v

Re: [rspec-users] Content assist for spec files

2007-09-06 Thread Geoffrey Wiseman
On 9/5/07, Tor Norbye <[EMAIL PROTECTED]> wrote: > > I'm working on Ruby support for NetBeans, and we're bundling RSpec > (along with JRuby). Would be pleased to try NB/Ruby again once the RSpec support is in there; any idea which milestone would contain this? -- Geoffrey Wiseman __

Re: [rspec-users] stubbing out helper method in helper spec

2007-09-06 Thread Ingo Weiss
Thanks David, in this case stubbing out method1 helped me a lot with focusing on what I want to test, without being distracted by having to follow down the call stack Ingo On Sep 6, 2007, at 5:40 PM, David Chelimsky wrote: > On 9/6/07, Ingo Weiss <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I am

Re: [rspec-users] stubbing out helper method in helper spec

2007-09-06 Thread David Chelimsky
On 9/6/07, Ingo Weiss <[EMAIL PROTECTED]> wrote: > Hi, > > I am stuck with a problem in my helper specs. Say I have a helper > with two methods, method1 and method2, where method2 is calling > method1 internally. How can I stub out method1 when testing method2? > I guess it boils down to how I can

[rspec-users] stubbing out helper method in helper spec

2007-09-06 Thread Ingo Weiss
Hi, I am stuck with a problem in my helper specs. Say I have a helper with two methods, method1 and method2, where method2 is calling method1 internally. How can I stub out method1 when testing method2? I guess it boils down to how I can access the helper object from within a helper spec.

Re: [rspec-users] Deprecating the mocking framework?

2007-09-06 Thread Christoph Sturm
I think bundling/recommending/depending on a mock framework gives you the same comfort and saves a lot of development time :D -chris On 9/6/07, Christopher D. Pratt <[EMAIL PROTECTED]> wrote: > What's the rationale behind removing the integrated mocking framework? Can > you not still use Mocha or

Re: [rspec-users] Deprecating the mocking framework?

2007-09-06 Thread Christopher D. Pratt
What's the rationale behind removing the integrated mocking framework? Can you not still use Mocha or FlexMock or whatever else you'd like to use still? Meanwhile, the integrated mocking framework in RSpec provides a ready and able mocking framework for anyone just starting out with RSpec. In my ex

Re: [rspec-users] Deprecating the mocking framework?

2007-09-06 Thread Christoph Sturm
On 9/5/07, Steven R. Baker <[EMAIL PROTECTED]> wrote: > Wilson Bilkovich wrote: > > On 9/5/07, Christoph Sturm <[EMAIL PROTECTED]> wrote: > >> One thing is clear, mocha is much nicer than the integrated mocking, > >> nicer syntax, better errormessages, better everything. The rspec > >> mocking fram