Froze rails gems
[depot.git] / vendor / rails / actionpack / RUNNING_UNIT_TESTS
1 == Running with Rake
2
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"
6
7 Rake can be found at http://rake.rubyforge.org
8
9 == Running by hand
10
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:
13
14 ruby controller/base_tests.rb
15
16 == Dependency on ActiveRecord and database setup
17
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.
22
23 Other tests are runnable from a fresh copy of actionpack without any configuration.
24