Skip to content
Browse files

added information about TEST_DIR env variable

  • Loading branch information...
1 parent 2e60b00 commit 6de3f1fb4e3160d0ab8f986ebe9287ce1a19aab0 @somebody32 somebody32 committed Feb 26, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 railties/guides/source/contributing_to_ruby_on_rails.textile
View
8 railties/guides/source/contributing_to_ruby_on_rails.textile
@@ -101,6 +101,14 @@ $ cd actionpack
$ rake test
</shell>
+If you want to run tests from the specific directory use the +TEST_DIR+ environment variable. For example, this will run tests inside +railties/test/generators+ directory only:
+
+<shell>
+$ cd railties
+$ TEST_DIR=generators rake test
+</shell>
+
+
h4. Warnings
The test suite runs with warnings enabled. Ideally Ruby on Rails should issue no warning, but there may be a few, and also some from third-party libraries. Please ignore (or fix!) them if any, and submit patches that do not issue new warnings.

0 comments on commit 6de3f1f

Please sign in to comment.
Something went wrong with that request. Please try again.