On 9/5/07, <b class="gmail_sendername">David Chelimsky</b> &lt;<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; Autotest<br>&gt; Out of curiosity, does anyone know how to get autotest to pick up new<br>&gt; folders under spec/?&nbsp;&nbsp;Seems like I might have to modify rails_rspec.rb in<br>&gt; lib/autotest.&nbsp;&nbsp;We were considering separating our acceptance tests from the
<br>&gt; rest.<br><br>You could either modify rails_rspec.rb, or you could add a .autotest<br>file in the project root and rewrite the mappings there. See autotests<br>docs for how to do that (look for info on hooks).</blockquote>
<div><br>Unfortunately when rails_rspec.rb runs, it seems to write over anything established in .autotest.&nbsp; Should I file a bug on that as well?<br><br><span style="font-family: courier new,monospace;">loading autotest/rails_rspec
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Mappings @ .autotest:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp; (?-mix:^test\/test_.*rb$) =&gt; #&lt;Proc:0xb7b2c6ec@/usr/lib/ruby/gems/1.8/gems/ZenTest-3.6.1/lib/autotest.rb:152&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp; (?-mix:^spec\/(models|controllers|views|helpers|lib|acceptance)\/.*rb$) =&gt; #&lt;Proc:0xb7b21c88@./.autotest:51&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp; (?-mix:^lib\/.*\.rb$) =&gt; #&lt;Proc:0xb7b2c87c@/usr/lib/ruby/gems/1.8/gems/ZenTest-3.6.1/lib/autotest.rb:149&gt;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
Mappings @ rails_rspec.rb:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; (?-mix:^(spec\/(spec_helper|shared\/.*)|config\/(boot|environment(s\/test)?))\.rb$) =&gt; #&lt;Proc:0xb7ab4750@./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:68&gt;
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; (?-mix:^app\/controllers\/(.*)\.rb$) =&gt; #&lt;Proc:0xb7ab5434@./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:46&gt;
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; (?-mix:^app\/models\/(.*)\.rb$) =&gt; #&lt;Proc:0xb7ab5920@./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:40&gt;
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; (?-mix:^app\/helpers\/(.*)_helper\.rb$) =&gt; #&lt;Proc:0xb7ab4f0c@./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:49&gt;
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; (?-mix:^spec\/(models|controllers|views|helpers|lib)\/.*rb$) =&gt; #&lt;Proc:0xb7ab5b8c@./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:37&gt;
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; (?-mix:^config\/database\.yml$) =&gt; #&lt;Proc:0xb7ab48a4@./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:65&gt;
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; (?-mix:^app\/views\/(.*)$) =&gt; #&lt;Proc:0xb7ab56a0@./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:43&gt;
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; (?-mix:^config\/routes\.rb$) =&gt; #&lt;Proc:0xb7ab4a84@./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:62&gt;
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; (?-mix:^app\/helpers\/application_helper\.rb$) =&gt; #&lt;Proc:0xb7ab4db8@./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:56&gt;
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; (?-mix:^(test|spec)\/fixtures\/(.*).yml$) =&gt; #&lt;Proc:0xb7ab5d1c@./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:34&gt;
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; (?-mix:^lib\/(.*)\.rb$) =&gt; #&lt;Proc:0xb7ab44e4@./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:71&gt;
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; (?-mix:^app\/controllers\/application\.rb$) =&gt; #&lt;Proc:0xb7ab4bd8@./vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb:59&gt;
</span><br style="font-family: courier new,monospace;"></div><br></div>&nbsp; - Geoffrey