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
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
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"
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
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-
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
; 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"
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