On Mon, Jul 6, 2009 at 10:54 AM, Phlip<[email protected]> wrote: > So I have a vanilla Rails 2.3.2 application, and I install autotest (and > autotest -v does not work, so I can't see which version number I actually > get), > and the gem system claims I have version 4.1.3. And I run autotest in the > project folder, and it says: > > $ autotest > (Not running features. To run features in autotest, set AUTOFEATURE=true.) > /usr/bin/ruby1.8 -I.:lib:test -rubygems -e "%w[test/unit > test/test_helper.rb].each { |f| require f }" | unit_diff -u > Loaded suite -e > Started > > Finished in 0.000437 seconds. > > 0 tests, 0 assertions, 0 failures, 0 errors
sudo gem install autotest-rails. Autotest does not automatically intuit project directory structures, beyond the simplest, oldest Ruby idiom (lib/*.rb => test/test_*.rb). The autotest-* set of support gems adds support for more complex directory structures, like Rails'. ~ j. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

