<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Chris, do you know of any good articles / blogs on this?</span></div><div><br><span></span></div><div><span>cheers<br></span></div><div> </div><div><i>James Cumming, CFA<br></i>+44 7799 554468<br></div> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Chris Parsons <chris.p@rsons.org><br> <b><span style="font-weight: bold;">To:</span></b> London Ruby Users Group <chat@lists.lrug.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, 23 November 2011, 10:42<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [LRUG] A question on DRYness on testing methods that get / set state<br>
</font> <br><div id="yiv1684018079"><div><br><div><div>On 23 Nov 2011, at 10:28, James Cumming wrote:</div><br class="yiv1684018079Apple-interchange-newline"><blockquote type="cite"><div><div style="color:rgb(0, 0, 0);background-color:rgb(255, 255, 255);font-family:arial, helvetica, sans-serif;font-size:10pt;"><div><br></div><div>> Incidentally, I was listening to an interesting podcast interview with<br>> Gary Bernhardt yesterday. Among other things, it touched on different<br>> approaches to testing; might be a good start to further exploration.<br><a rel="nofollow" target="_blank" href="http://www.engineyard.com/podcast/s01e40-gary-bernhardt">> http://www.engineyard.com/podcast/s01e40-gary-bernhardt</a><br><span></span></div><div><br><span></span></div><div>Interesting interview this was. Has anyone used classes in the lib folder extensively as Gary suggests? How have you found it? <br></div><div> I can think of a few of my projects
where this make sense and hopefully speed up autotest.</div><div></div></div></div></blockquote><div><br></div><div>Yes, I do this extensively these days (e-petitions whole searching infrastructure was built in lib).</div><div><br></div><div>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.</div><div><br></div><div>Thanks</div><div>Chris</div></div><br><div>
<span class="yiv1684018079Apple-style-span" style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;">--<br>Chris Parsons<br><a rel="nofollow" ymailto="mailto:chris.p@rsons.org" target="_blank" href="mailto:chris.p@rsons.org">chris.p@rsons.org</a><br>http://twitter.com/chrismdp<br>http://pa.rsons.org<br><br><br><br></span>
</div>
<br></div></div><br>_______________________________________________<br>Chat mailing list<br><a ymailto="mailto:Chat@lists.lrug.org" href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br><a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br><br><br> </div> </div> </div></body></html>