New article

And finally, I'd like to see more detail about Mock fixtures ...

I'm a Mock newbie and it would be nice to include the DATA and the test
run details showing a full mock test example.

···

-----Original Message-----
From: Neville Burnell [mailto:Neville.Burnell@bmsoft.com.au]
Sent: Wednesday, 8 June 2005 5:06 PM
To: ruby-talk ML
Subject: Re: new article

On pg 18 of the PDF now which talks about unit_diff, and I'm unclear
about the before & after results ...

May I suggest clearly labelling this section for example:

Standard test run:
...

With unit_diff:
...

-----Original Message-----
From: Neville Burnell [mailto:Neville.Burnell@bmsoft.com.au]
Sent: Wednesday, 8 June 2005 4:36 PM
To: ruby-talk ML
Subject: Re: new article

Hi,

I'm just reading the PDF and on pg 13 you flesh out the echo() method,
but the def doesn't include any parameters, in particular it should [I
think] be:

Def echo(url)

So the echo method as documented should fail, correct ?

Nev

-----Original Message-----
From: pat eyler [mailto:pat.eyler@gmail.com]
Sent: Wednesday, 25 May 2005 4:04 AM
To: ruby-talk ML
Subject: new article

Sorry for posting about my own article, but I'm interested in feedback,
recommendations for future topics, etc. IBM has just published an
article I wrote about doing test first development with Ruby:

http://www.ibm.com/developerworks/edu/os-dw-os-ruby1-i.html

(sorry, you need to sign in (free account) to read it).

I've got an opportunity to do some more writing for them (how much more
depends on how well received/popular the articles are), and I'd love to
get some feedback from the community about what kinds of Ruby things I
should be sending their way.

--
thanks,
-pate
-------------------------
We are often unable to tell people what they need to know, because they
want to know something else, and would therefore only misunderstand what
we said
- the Raven (George MacDonald, Lilith)

And finally, I'd like to see more detail about Mock fixtures ...

I'm a Mock newbie and it would be nice to include the DATA and the test
run details showing a full mock test example.

[ ...]

On pg 18 of the PDF now which talks about unit_diff, and I'm unclear
about the before & after results ...

May I suggest clearly labelling this section for example:

Standard test run:
...

With unit_diff:
...

[...]

Hi,

I'm just reading the PDF and on pg 13 you flesh out the echo() method,
but the def doesn't include any parameters, in particular it should [I
think] be:

Def echo(url)

So the echo method as documented should fail, correct ?

Nev

All good points (though it's a different error on page 13 as noted by
Ghislain). There are a couple of code errors in the book that were
introduced during copying from the r43 source. If you want to look
at the actual code and tests, you might want to download that from
rubyforge.

I'm not able to change the tutorial at IBM, but I will be republishing the
article in the near future and I'll be incorporating the corrections (and
many of the suggestions) from this thread when I do so.

···

On 6/8/05, Neville Burnell <Neville.Burnell@bmsoft.com.au> wrote:

--
thanks,
-pate
-------------------------
We are often unable to tell people what they need to know, because
they want to know something else, and would therefore only
misunderstand what we said
- the Raven (George MacDonald, Lilith)