Best practice for common functional tests?


#1

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