I personally would use Active Record and FactoryGirl
On Thu, Nov 8, 2012 at 9:29 AM, Dan <[email protected]> wrote: > In terms of tools for connecting to and querying mysql, I would use this > gem https://rubygems.org/gems/mysql. > > > On Thursday, November 8, 2012 1:37:22 AM UTC-5, Aaron Schwartz wrote: >> >> Hi all, >> >> I couldn't find anything on this group already posted so please direct me >> to any resources. I am relatively new to testing and sort of learning watir >> as I test a web application on the fly. One of current tests is to input >> some user data on a web form and then click a submit button. >> Watir-webdriver is performing nicely here. Then I want to test to ensure >> the data has been added to our mysql db. Is there a standard or best >> practice for doing this type of testing? Do you just write another ruby >> script that takes in the record, connects to the DB, and checks it has been >> added What tools do you use for incorporating mysql connections into ruby >> testing with watir-webdriver? >> >> Thanks in advance >> >> Aaron >> > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
