[LRUG] A question on DRYness on testing methods that get / set state

James Cumming james.cumming at yahoo.co.uk
Wed Nov 23 03:14:36 PST 2011


Chris, do you know of any good articles / blogs on this?

cheers

 
James Cumming, CFA
+44 7799 554468


________________________________
 From: Chris Parsons <chris.p at rsons.org>
To: London Ruby Users Group <chat at lists.lrug.org> 
Sent: Wednesday, 23 November 2011, 10:42
Subject: Re: [LRUG] A question on DRYness on testing methods that get / set state
 



On 23 Nov 2011, at 10:28, James Cumming wrote:


>
>> Incidentally, I was listening to an interesting podcast interview with
>> Gary Bernhardt yesterday.  Among other things, it touched on different
>> approaches to testing; might be a good start to further exploration.
>> http://www.engineyard.com/podcast/s01e40-gary-bernhardt
>
>
>
>Interesting interview this was. Has anyone used classes in the lib folder extensively as Gary suggests? How have you found it? 
>
>I can think of a few of my projects where this make sense and hopefully speed up autotest.

Yes, I do this extensively these days (e-petitions whole searching infrastructure was built in lib).

It has a few big advantages: one of which is faster tests, but also it helps you to depend on your framework less and improve design through reducing collaborators.

Thanks
Chris

--
Chris Parsons
chris.p at rsons.org
http://twitter.com/chrismdp
http://pa.rsons.org



 

_______________________________________________
Chat mailing list
Chat at lists.lrug.org
http://lists.lrug.org/listinfo.cgi/chat-lrug.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20111123/46842ee3/attachment-0003.html>


More information about the Chat mailing list