+1 to Davids advice
But first I would analyse the feature I've written. Some of the things I'd
think about include
1) The use of the word task - its not very precise
2) The assumptions made in my story and whether I'm ready to make these yet
a) That a task will have a name
b) That only Eng
Cool. Thanks, guys.
On Sat, Dec 6, 2008 at 11:28 AM, Ben Mabey <[EMAIL PROTECTED]> wrote:
> Jeff Talbot wrote:
>>
>> There is a seemingly very useful line of code in the cucumber wiki
>> that I'd like to use:
>>
>> After do
>># Scenario teardown
>>Database.truncate_all
>> end
>>
>> (from
2008-12-05 08:32, Jeff Talbot:
> I want to clear out the database after every run so my tests are
> isolated.
Maybe a minor detail, but I'd suggest you clear out the db _before_
each run.
--
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
___
rspe
Andrew Premdas wrote:
>
> So my initial scenario might be
>
> When I create a new improvement
> I should see a confirmation
>
> and my second scenario might be
>
> Given there are some improvements
> I should be able to view improvements
>
> Finally have a think about whether this feature is a
On 7 Dec 2008, at 17:56, Tero Tilus wrote:
2008-12-05 08:32, Jeff Talbot:
I want to clear out the database after every run so my tests are
isolated.
Maybe a minor detail, but I'd suggest you clear out the db _before_
each run.
I respectfully disagree :)
If I need this done, I can run rake
On Sun, Dec 7, 2008 at 8:07 PM, Matt Wynne <[EMAIL PROTECTED]> wrote:
> On 7 Dec 2008, at 17:56, Tero Tilus wrote:
>
> 2008-12-05 08:32, Jeff Talbot:
>>
>>> I want to clear out the database after every run so my tests are
>>> isolated.
>>>
>>
>> Maybe a minor detail, but I'd suggest you clear out
"There are two ways of constructing a software design: One way is to make it
so simple that there are no obvious deficiencies, and the other way is to
make it so complicated that there are no obvious deficiencies. The first
method is far more difficult"
C. A. R. Hoare, Professor of Computing, Oxfo
On 7 Dec 2008, at 19:20, aslak hellesoy wrote:
On Sun, Dec 7, 2008 at 8:07 PM, Matt Wynne <[EMAIL PROTECTED]> wrote:
On 7 Dec 2008, at 17:56, Tero Tilus wrote:
2008-12-05 08:32, Jeff Talbot:
I want to clear out the database after every run so my tests are
isolated.
Maybe a minor detail, but
Hooray! I've been looking for a reference for that quote for years! Thanks
Andrew.
2008/12/7 Andrew Premdas <[EMAIL PROTECTED]>
> "There are two ways of constructing a software design: One way is to make
> it so simple that there are no obvious deficiencies, and the other way is to
> make it so
On Fri, Dec 5, 2008 at 1:21 PM, Christopher Bailey <[EMAIL PROTECTED]> wrote:
> I hope I'm just missing something obvious here, but I am using fragment
> caching in a partial for a view. I test this view with an RSpec view test.
> The particular test is using "real" data (i.e. not mocked objects,
Andrew Premdas wrote:
> Yup, very much so IMO
>
> 2008/12/5 James Byrne <[EMAIL PROTECTED]>
Bear with me. I am trying to see how one thing leads to another. Say I
have written:
Scenario: Manual Invoice Release by Client
Given 4 billable charges for client "Y"
When I visit the create
11 matches
Mail list logo