Displaying 1 result from an estimated 1 matches for "railswebratstory".
2008 Jun 09
6
Selenium/Watir usage along side Webrat in story testing
...have to use**. When I have common Givens
like login I have to duplicate the Given, one for Selenium one for
Webrat.
So I was thinking of ways to avoid this duplication:
Create two classes (this is already what MHS_testing has done for
Selenium)
----
class RailsSeleniumStory < RailsStory
class RailsWebratStory < RailsStory
----
Create a common interface for all shared functionailty.
(I suspect Webrat represents the smallest set of functionality -
Selenium can do everything Webrat can do but not the other way around).
The different UI testing frameworks implement such interface giving
Selenium/Webrat...