Heinz S. wrote:
I normally used autotest to when writing test which worked just fine
until I switched to Rails 3. Now, when I run autotest it tests all tests
and gets stuck somewhere:
Loaded suite -e
Even after an hour or so it doesn’t continue.
I’m using these versions:
I don’t know for sure what’s happening to you, but I’ve been using
autotest just fine with Rails 3 (so far).
However, I your list of gems are somewhat in conflict. ZenTest includes
autotest, but you’re showing both gems above. If you only need the
autotest part of ZenTest then don’t install ZenTest. Also, if you
install autotest-rails then that will install ZenTest (as a dependency)
so don’t install autotest-rails either.
Here’s the list of autotest gems I’ve been using successfully with Rails
3 and RSpec on Mac OS X 10.6:
If you’re on a Mac I highly recommend autotest-fsevent as it’s much less
burdensome on the system because it eliminates the file system polling.
Instead it uses the Finder notification system to detect changes.