Re: [rspec-users] Specs versus Stories

2008-02-23 Thread Joseph Anthony Pasquale Holsten
Brian Takita wrote: There are automated & manual tests. Automated customer facing & Automated developer tests. Both customer facing and developer tests can have a unit, functional, and integration scope. That being said, you can have effective high level developer Specs. They certainly can, but

Re: [rspec-users] Specs versus Stories

2008-02-22 Thread Brian Takita
entirety before setting out to > develop a body of work. Stories should be run before a commit, or as > part of a CI build, but are not always run between every step. > > The examples in specs, on the other hand, typically come into > existence in a very granular red-green-refacto

Re: [rspec-users] Specs versus Stories

2008-02-21 Thread Joseph Anthony Pasquale Holsten
uild, but are not always run between every step. The examples in specs, on the other hand, typically come into existence in a very granular red-green-refactor cycle, and should be run between every step. HTH, David Message: 3 Date: Mon, 18 Feb 2008 11:21:47 -0500 From: "Andrew WC Brown"

Re: [rspec-users] Specs versus Stories

2008-02-19 Thread Jarkko Laine
On 19.2.2008, at 12.32, Fernando Perez wrote: Andrew, By testing your views before the controllers and models, aren't you wasting time on adjusting tests as you make changes to the views? I see many people postpone the testing of views to the very late stage of development, so that they don't

Re: [rspec-users] Specs versus Stories

2008-02-19 Thread Fernando Perez
Andrew, By testing your views before the controllers and models, aren't you wasting time on adjusting tests as you make changes to the views? I see many people postpone the testing of views to the very late stage of development, so that they don't get distracted. -- Posted via http://www.ruby-

Re: [rspec-users] Specs versus Stories

2008-02-18 Thread David Chelimsky
Date: Mon, 18 Feb 2008 11:21:47 -0500 > > From: "Andrew WC Brown" <[EMAIL PROTECTED]> > > Subject: Re: [rspec-users] Specs versus Stories > > To: rspec-users > > Message-ID: > > <[EMAIL PROTECTED]> > > Content-Type: text/plain; charset=&qu

Re: [rspec-users] Specs versus Stories

2008-02-18 Thread Victor Asteinza
; Date: Mon, 18 Feb 2008 11:21:47 -0500 > From: "Andrew WC Brown" <[EMAIL PROTECTED]> > Subject: Re: [rspec-users] Specs versus Stories > To: rspec-users > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1"

Re: [rspec-users] Specs versus Stories

2008-02-18 Thread Andrew WC Brown
My workflow is the following: Stories->Spec Views->Spec Controllers-Spec Models I'll write a few stories of what I think should it happen. Then I'll write my specs of what should show (and also do some static html page mockups) Then I'll spec my controllers and models I'll go back to my stories to