3 The easiest way to run the unit tests is through Rake. The default task runs
4 the entire test suite for all classes. For more information, checkout the
5 full array of rake tasks with "rake -T"
7 Rake can be found at http://rake.rubyforge.org
11 If you only want to run a single test suite, or don't want to bother with Rake,
12 you can do so with something like:
14 ruby controller/base_tests.rb
16 == Dependency on ActiveRecord and database setup
18 Test cases in the test/controller/active_record/ directory depend on having
19 activerecord and sqlite installed. If ActiveRecord is not in
20 actionpack/../activerecord directory, or the sqlite rubygem is not installed,
21 these tests are skipped.
23 Other tests are runnable from a fresh copy of actionpack without any configuration.