Integration Testing

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-testing-in-rails-1-1

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs