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!
on 2007-05-08 05:16