Forum: Ruby on Rails Best practice for common functional tests?

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.
Wes G. (Guest)
on 2008-10-03 23:15
All,

I'm working on an ActiveScaffold based application, and in the interest
of getting more functional test coverage, I'd like to verify things
about AS-generated screens in the context of multiple controllers.

In order to share these tests, I've created methods in test_helper.rb,
and simply invoke them from a method in each of the controllers.

Does anyone have a good recommendation for a way to manage functional
tests that you want to run across multiple controllers without having to
place a test method that simply calls a common test in each functional
test file?

Thanks,
Wes
This topic is locked and can not be replied to.