Gerard Meszaros' book is excellent, I highly recommend it. IMO, the patterns apply to tests above the unit level equally well. He also has a lot of general good test design advice. However, it didn't provide me with any specific help about how to design Ruby/Watir test scripts. -- Lisa
On Fri, Apr 3, 2009 at 4:05 PM, Paul Rogers <paul.rog...@shaw.ca> wrote: > I didnt know about this book, I'll try and check it out. There is also > xUnit Patterns by Gerard Mezaros ( i think thats the right spelling ) > I think its more appropriate for regular developer unit tests though. > > Paul > > > On Fri, Apr 3, 2009 at 3:58 PM, Bret Pettichord <b...@pettichord.com>wrote: > >> >> The "Design Patterns in Ruby" book by Russ Olsen addresses many of these >> questions. Have you looked at it? >> >> Bret >> >> Lisa Crispin wrote: >> > +1 on all that. Plus, as someone not very good w/ OO, I want to know >> > stuff like when to use a class vs. a mixin, what kind of variables to >> > use (global or whatever), tradeoffs of flexibility and maintainability. >> > >> > I'm sure if we were starting with Watir today, we'd use WatirCraft and >> > things would be easier, but now that we're 4 years down the road and >> > have a huge suite of scripts, I'm never sure what's the best way >> forward. >> > -- Lisa >> > >> > On Fri, Apr 3, 2009 at 2:09 PM, Jim Knowlton <jknowlton...@gmail.com >> > <mailto:jknowlton...@gmail.com>> wrote: >> > >> > >> > I think the biggest thing alot of us Watir developers need is a good >> > guide to design patterns with Watir. I know for myself, I know the >> > commands and basic syntax pretty well, and can design a test >> structure >> > that works, but I'm sure there are things I'm doing that could be >> > designed better (I'm a tester, after all, not a full-time >> > programmer). I'd love a guide that describes best practices for how >> > to set up a directory structure, set up rake for common tasks, etc. >> > >> > I know WatirCraft attempts to address this to some extent, but I >> guess >> > I'm suggesting that some people might need to design their own >> > framework, but not know how to do it. >> > >> > My two cents. >> > >> > Jim >> > >> > >> > >> > >> > -- >> > Lisa Crispin >> > Co-author with Janet Gregory, _Agile Testing: A Practical Guide for >> > Testers and Agile Teams_ (Addison-Wesley 2009) >> > http://lisacrispin.com >> > >> > >> > > >> >> >> -- >> Bret Pettichord >> CTO, WatirCraft LLC, www.watircraft.com >> Lead Developer, Watir, www.watir.com >> Blog, www.io.com/~wazmo/blog <http://www.io.com/%7Ewazmo/blog> >> Twitter, www.twitter.com/bpettichord >> >> Watir Training: Portland/Beaverton April 16-17 >> www.watircraft.com/training >> >> >> >> > > > > -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) http://lisacrispin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---