[rspec-users] rspec-users Digest, Vol 34, Issue 2

Charleno Pires charleno at gmail.com
Wed Apr 1 12:29:15 EDT 2009


2009/4/1, rspec-users-request at rubyforge.org <rspec-users-request at rubyforge.org>:
> Send rspec-users mailing list submissions to
> 	rspec-users at rubyforge.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://rubyforge.org/mailman/listinfo/rspec-users
> or, via email, send a message with subject or body 'help' to
> 	rspec-users-request at rubyforge.org
>
> You can reach the person managing the list at
> 	rspec-users-owner at rubyforge.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of rspec-users digest..."
>
>
> Today's Topics:
>
>    1. Re: RSpec makes me want to write better code (aidy lewis)
>    2. Re: RSpec makes me want to write better code (David Chelimsky)
>    3. Re: Good introduction to rspec (Stephen Eley)
>    4. Re: Good introduction to rspec (Stephen Eley)
>    5. Re: Good introduction to rspec (Scott LaBounty)
>    6. Re: Good introduction to rspec (David Chelimsky)
>    7. Re: Good introduction to rspec (Scott LaBounty)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 1 Apr 2009 14:01:19 +0100
> From: aidy lewis <aidy.lewis at googlemail.com>
> Subject: Re: [rspec-users] RSpec makes me want to write better code
> To: rspec-users <rspec-users at rubyforge.org>
> Message-ID:
> 	<7ac2300c0904010601x71f62ebn5246481575ad85c9 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi David
>
> 2009/3/31 David Chelimsky <dchelimsky at gmail.com>:
>
>> The point of TDD is writing small examples and small bits of code in a
>> cycle. The point of BDD is to write high level scenarios so you know
>> what code to write, but then drive it out in detail with TDD.
>
> Does this necessitate that the same person or pair should be doing
> both the TDD and BDD for the same area? My problem at the moment is
> that as a software tester I would in combination with a customer
> create the feature Acceptance Criteria (AC). The AC would be used by
> the developer to guide his\her design, but he\she would be unlikely to
> implement the automated test, which would normally be done by the
> tester (using Watir\Cucumber). My feeling is that if we are to get the
> optimal benefit from TDD\BDD then the developer(s) should be
> automating the AC. What do you think?
>
> I don't think this removes the need of the tester as he/she may be
> more likely to have a skill-set that is aware of
> bigger-than-unit-test-tools and frameworks, but I think they should be
> pairing with the developer. However the problem then arises if the
> developer and tester use different languages. I use Ruby while the
> production code is in .Net. The TDD interplay would be more seamless I
> think with a single language. But as a tester it would be insane for
> me to use a static and compiled language to - in effect - test a web
> site.
>
> Aidy
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 1 Apr 2009 08:35:01 -0500
> From: David Chelimsky <dchelimsky at gmail.com>
> Subject: Re: [rspec-users] RSpec makes me want to write better code
> To: rspec-users <rspec-users at rubyforge.org>
> Message-ID:
> 	<57c63afe0904010635x652e30e3k939e2d0fa21c25fd at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Wed, Apr 1, 2009 at 8:01 AM, aidy lewis <aidy.lewis at googlemail.com>
> wrote:
>> Hi David
>>
>> 2009/3/31 David Chelimsky <dchelimsky at gmail.com>:
>>
>>> The point of TDD is writing small examples and small bits of code in a
>>> cycle. The point of BDD is to write high level scenarios so you know
>>> what code to write, but then drive it out in detail with TDD.
>>
>> Does this necessitate that the same person or pair should be doing
>> both the TDD and BDD for the same area? My problem at the moment is
>> that as a software tester I would in combination with a customer
>> create the feature Acceptance Criteria (AC). The AC would be used by
>> the developer to guide his\her design, but he\she would be unlikely to
>> implement the automated test, which would normally be done by the
>> tester (using Watir\Cucumber). My feeling is that if we are to get the
>> optimal benefit from TDD\BDD then the developer(s) should be
>> automating the AC. What do you think?
>
> Given that I don't know the skill-set available on your team, it's
> difficult for me to say what would provide optimum benefit for *your
> team*. That said, in some idealistic BDD fashion, I'd think the best
> deal would be the tester and developer pairing on automating AC. Then
> that developer would pair with another developer driving out the code
> w/ TDD.
>
>> I don't think this removes the need of the tester as he/she may be
>> more likely to have a skill-set that is aware of
>> bigger-than-unit-test-tools and frameworks, but I think they should be
>> pairing with the developer.
>
> I honestly wrote the above before I read this :) Yes, I agree, tester
> and developer pairing is *generally* a good thing.
>
>> However the problem then arises if the
>> developer and tester use different languages. I use Ruby while the
>> production code is in .Net. The TDD interplay would be more seamless I
>> think with a single language. But as a tester it would be insane for
>> me to use a static and compiled language to - in effect - test a web
>> site.
>
> I'm going to go out on a limb here and suggest that if you're
> proficient in Ruby and you're pairing with a reasonably skilled
> developer in any C-based language like C Sharp, the language barrier
> will be fairly small. There are some hoops, like meta-programming,
> blocks and iterators, but not too many beyond that. I don't mean that
> to be flippant. Even if the dev has zero experience with these
> concepts, he really doesn't need to understand them in order to
> progress if you're pairing.
>
> HTH,
> David
>
>>
>> Aidy
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 1 Apr 2009 06:57:42 -0700
> From: Stephen Eley <sfeley at gmail.com>
> Subject: Re: [rspec-users] Good introduction to rspec
> To: rspec-users <rspec-users at rubyforge.org>
> Message-ID:
> 	<1fb4df0904010657x4dc54347j652e6e051e3d1217 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 2009/4/1 Pablo L. de Miranda <pablolmiranda at gmail.com>:
>> @Fernando - So what material you recommend to start a study in rSpec?
>
> 1.) The Web site documentation at http://rspec.info
>
> 2.) Use it and build experience.
>
> 3.) Get the beta of the RSpec book.
>
> 4.) Use it and build experience.
>
> 5.) Google is your friend.
>
> 6.) Use it and build experience.
>
> Finally, if in doubt...  Try using it and building some experience.
>
>
> --
> Have Fun,
>    Steve Eley (sfeley at gmail.com)
>    ESCAPE POD - The Science Fiction Podcast Magazine
>    http://www.escapepod.org
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 1 Apr 2009 07:23:32 -0700
> From: Stephen Eley <sfeley at gmail.com>
> Subject: Re: [rspec-users] Good introduction to rspec
> To: rspec-users at rubyforge.org
> Message-ID:
> 	<1fb4df0904010723g15ec4ebav5c8ab3478a0ab96d at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Tue, Mar 31, 2009 at 11:50 PM, Fernando Perez <lists at ruby-forum.com>
> wrote:
>>
>> I don't spec at all the way he shows, I might be doing things wrong, but
>> I am very happy with my workflow.
>
> http://www.kipling.org.uk/poems_neolithic.htm
>
> (The poem's by Rudyard Kipling, if the URL doesn't make it clear.)
>
>
> --
> Have Fun,
>    Steve Eley (sfeley at gmail.com)
>    ESCAPE POD - The Science Fiction Podcast Magazine
>    http://www.escapepod.org
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 1 Apr 2009 07:53:03 -0700
> From: Scott LaBounty <slabounty at gmail.com>
> Subject: Re: [rspec-users] Good introduction to rspec
> To: rspec-users <rspec-users at rubyforge.org>
> Message-ID:
> 	<7de47a040904010753t231a0f50u201ebdf7e19d6f47 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I've looked at the web site and I guess I'm looking for more examples. I'd
> like to see some simple basic ruby code and then some rSpec code testing it.
> No Rails, no nothing else. I haven't tried the book yet, but there does not
> seem to be a lot of code out there at this basic a level.
>
> Any ideas?
>
> Scott
>
> On Wed, Apr 1, 2009 at 6:57 AM, Stephen Eley <sfeley at gmail.com> wrote:
>
>> 2009/4/1 Pablo L. de Miranda <pablolmiranda at gmail.com>:
>> > @Fernando - So what material you recommend to start a study in rSpec?
>>
>> 1.) The Web site documentation at http://rspec.info
>>
>> 2.) Use it and build experience.
>>
>> 3.) Get the beta of the RSpec book.
>>
>> 4.) Use it and build experience.
>>
>> 5.) Google is your friend.
>>
>> 6.) Use it and build experience.
>>
>> Finally, if in doubt...  Try using it and building some experience.
>>
>>
>> --
>> Have Fun,
>>   Steve Eley (sfeley at gmail.com)
>>   ESCAPE POD - The Science Fiction Podcast Magazine
>>   http://www.escapepod.org
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
>
>
>
> --
> Scott
> http://steamcode.blogspot.com/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://rubyforge.org/pipermail/rspec-users/attachments/20090401/8bced54b/attachment-0001.html>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 1 Apr 2009 10:44:02 -0500
> From: David Chelimsky <dchelimsky at gmail.com>
> Subject: Re: [rspec-users] Good introduction to rspec
> To: rspec-users <rspec-users at rubyforge.org>
> Message-ID:
> 	<57c63afe0904010844p6bd992f8pd8e8119d6865f8f5 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 2009/4/1 Scott LaBounty <slabounty at gmail.com>:
>> I've looked at the web site and I guess I'm looking for more examples. I'd
>> like to see some simple basic ruby code and then some rSpec code testing
>> it.
>> No Rails, no nothing else. I haven't tried the book yet, but there does
>> not
>> seem to be a lot of code out there at this basic a level.
>>
>> Any ideas?
>
> Try this:
>
> http://blog.davidchelimsky.net/2007/5/14/an-introduction-to-rspec-part-i
>
> Cheers,
> David
>
>
>
>>
>> Scott
>>
>> On Wed, Apr 1, 2009 at 6:57 AM, Stephen Eley <sfeley at gmail.com> wrote:
>>>
>>> 2009/4/1 Pablo L. de Miranda <pablolmiranda at gmail.com>:
>>> > @Fernando - So what material you recommend to start a study in rSpec?
>>>
>>> 1.) The Web site documentation at http://rspec.info
>>>
>>> 2.) Use it and build experience.
>>>
>>> 3.) Get the beta of the RSpec book.
>>>
>>> 4.) Use it and build experience.
>>>
>>> 5.) Google is your friend.
>>>
>>> 6.) Use it and build experience.
>>>
>>> Finally, if in doubt... ?Try using it and building some experience.
>>>
>>>
>>> --
>>> Have Fun,
>>> ? Steve Eley (sfeley at gmail.com)
>>> ? ESCAPE POD - The Science Fiction Podcast Magazine
>>> ? http://www.escapepod.org
>>> _______________________________________________
>>> rspec-users mailing list
>>> rspec-users at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
>>
>>
>> --
>> Scott
>> http://steamcode.blogspot.com/
>>
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 1 Apr 2009 08:47:33 -0700
> From: Scott LaBounty <slabounty at gmail.com>
> Subject: Re: [rspec-users] Good introduction to rspec
> To: rspec-users <rspec-users at rubyforge.org>
> Message-ID:
> 	<7de47a040904010847s64a648c9r9fa5a469e3b7110e at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> David,
>
> That's more what I was looking for.
>
> Thanks,
>
> Scott
>
> On Wed, Apr 1, 2009 at 8:44 AM, David Chelimsky <dchelimsky at gmail.com>wrote:
>
>> 2009/4/1 Scott LaBounty <slabounty at gmail.com>:
>> > I've looked at the web site and I guess I'm looking for more examples.
>> I'd
>> > like to see some simple basic ruby code and then some rSpec code testing
>> it.
>> > No Rails, no nothing else. I haven't tried the book yet, but there does
>> not
>> > seem to be a lot of code out there at this basic a level.
>> >
>> > Any ideas?
>>
>> Try this:
>>
>> http://blog.davidchelimsky.net/2007/5/14/an-introduction-to-rspec-part-i
>>
>> Cheers,
>> David
>>
>>
>>
>> >
>> > Scott
>> >
>> > On Wed, Apr 1, 2009 at 6:57 AM, Stephen Eley <sfeley at gmail.com> wrote:
>> >>
>> >> 2009/4/1 Pablo L. de Miranda <pablolmiranda at gmail.com>:
>> >> > @Fernando - So what material you recommend to start a study in rSpec?
>> >>
>> >> 1.) The Web site documentation at http://rspec.info
>> >>
>> >> 2.) Use it and build experience.
>> >>
>> >> 3.) Get the beta of the RSpec book.
>> >>
>> >> 4.) Use it and build experience.
>> >>
>> >> 5.) Google is your friend.
>> >>
>> >> 6.) Use it and build experience.
>> >>
>> >> Finally, if in doubt...  Try using it and building some experience.
>> >>
>> >>
>> >> --
>> >> Have Fun,
>> >>   Steve Eley (sfeley at gmail.com)
>> >>   ESCAPE POD - The Science Fiction Podcast Magazine
>> >>   http://www.escapepod.org
>> >> _______________________________________________
>> >> rspec-users mailing list
>> >> rspec-users at rubyforge.org
>> >> http://rubyforge.org/mailman/listinfo/rspec-users
>> >
>> >
>> >
>> > --
>> > Scott
>> > http://steamcode.blogspot.com/
>> >
>> > _______________________________________________
>> > rspec-users mailing list
>> > rspec-users at rubyforge.org
>> > http://rubyforge.org/mailman/listinfo/rspec-users
>> >
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
>
>
>
> --
> Scott
> http://steamcode.blogspot.com/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://rubyforge.org/pipermail/rspec-users/attachments/20090401/587cb956/attachment.html>
>
> ------------------------------
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
> End of rspec-users Digest, Vol 34, Issue 2
> ******************************************
>

-- 
Enviado do meu celular

Atenciosamente,

Charleno Pires
Desenvolvedor Web - Teresina Piauí
www.charlenopires.com.br (building)

Msn: charlenopires at hotmail.com
GTalk: charleno at gmail.com


More information about the rspec-users mailing list