Forum: Ruby on Rails Integration Testing

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3d9de7385f3767831cd228daef5650f9?d=identicon&s=25 Traci Reynolds (Guest)
on 2007-05-08 05:16
(Received via mailing list)
I'm using integration testing, with multiple sessions. For the typical
example, a module extends a session, like here:

http://weblog.jamisbuck.org/2006/3/9/integration-t...

For my testing, I would like to emulate the web interface with ruby
objects. I'd like the test statements to look like

bob.goes_to_login
bob.goes_to_main_page
bob.main_window.click(photos(:photo_of_bob))
bob.main_window.menu.click(menus(:file))

I'm not clear on how I can get the structure above using modules,
methods and classes.

Any help appreciated!
This topic is locked and can not be replied to.