I've updated the User Guide: -included the simple example of printing assertion results below -fixed the error in the attach section -added more information to the test::unit section -added information on accessing elements by index or before or after text -added an Online Resources section with a link to the FAQ and mailing list search instructions -added a section on popup windows
A lot more could be done, but at least there's some fixes and more info for the next release. -Jonathan > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:wtr-general- > [EMAIL PROTECTED] On Behalf Of Jonathan Kohl > Sent: August 3, 2005 11:19 AM > To: [email protected] > Subject: RE: [Wtr-general] Using Asserts > > > Jonathan knows this, but for every one else, this does the same thing, > > more > > simply: > > > > >if ie.contains_text("Programming Ruby") > > > puts("TEST PASSED. Found test string 'Programming Ruby'") > > >else > > > puts("TEST FAILED.") > > >end > Thanks for pointing it out. I copied and pasted the rescue version into > IRB > from an example because I was too lazy to type it in. :) > > > This seems to trip a lot of people up. Jonathan, do our docs describe > the > > simple way before talking about asserts? > No, I'll update the user guide today. I was also going to update the > attach > section before the next release. > > -Jonathan > > > > > > > _____________________ > > Bret Pettichord > > www.pettichord.com > > > > _______________________________________________ > > Wtr-general mailing list > > [email protected] > > http://rubyforge.org/mailman/listinfo/wtr-general > > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
