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

Chris Parsons chris.p at rsons.org
Wed Nov 23 02:42:26 PST 2011


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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20111123/25cbb60f/attachment-0003.html>


More information about the Chat mailing list