Auto test shows a space

I installed a self test and intended to use it with rspec. The problem is that when I run autotest under my rail application, all I see is:

railsapp $ autospec

autotest download / rails _rspec


And he stuck there until I can stand Ctrl-C. Nothing changes even if I change the rspec test or code.

Here is my ~ / .autotest

Autotest / reboot required

redgreen / autotest required

requires "autotest / fsevent"

Autotest / growl required

+7
ruby-on-rails autotest zentest
source share
4 answers

I had the same problem. In the end, I managed to get everything to make sure that I was on the latest versions of rspec, rspec-rails, autotest and autotest-rails (beta if necessary) and put the following in autotest / discovery.rb:

Autotest.add_discovery { "rails" } Autotest.add_discovery { "rspec2" } 

Here 's a blog post that made me start in the right direction.

+4
source share

I had the same problem and this fixed:

"Make sure there is a .rspec file at the root of the project that tells RSpec to tell Autotest to download the RSpecs autotest extension.

ref: https://github.com/rspec/rspec/wiki/autotest

It seems that my .rspec file was deleted when messing around with git.

+1
source share

Cd into the application directory and run the command: AUTOFEATURE = true autospec

To stop this process ^ C twice

0
source share

I had the same problem with Rails 2.3.2, except that I am not using RSpec. In my case, installing the autotest-rails-pure gem made me work for me. Perhaps autotest requires the right plugin to detect the test inside the file.

0
source share

All Articles