Skip to content
This repository
Browse code

added information about TEST_DIR env variable

  • Loading branch information...
commit feec2250bbb53428ae13ea928c68e378447bef81 1 parent 3b10b8a
Ilya Zayats somebody32 authored fxn committed
8 railties/guides/source/contributing_to_ruby_on_rails.textile
Source Rendered
@@ -101,6 +101,14 @@ $ cd actionpack
101 101 $ rake test
102 102 </shell>
103 103
  104 +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:
  105 +
  106 +<shell>
  107 +$ cd railties
  108 +$ TEST_DIR=generators rake test
  109 +</shell>
  110 +
  111 +
104 112 h4. Warnings
105 113
106 114 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 feec225

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