March 06, 2010
Autospec
Autospec automatically runs your specs (specifications) as you write your code (only running the specs associated with the code you just saved). I keep autospec running on my second screen continuously. This approach makes the BDD process easier to follow.
I installed Autospec using the follow approach:
sudo gem install ZenTest
sudo gem install autotest-rails
I did run into an issue when I ran autospec within my rails project root folder:
Unable to find autotest. Please install ZenTest or fix your PATH
I located the executable:
sudo find -name 'autotest'
Next I added the executable's path to my .bashrc:
export PATH="$PATH:/var/lib/gems/1.8/bin"
Posted by bourea at 03:31 PM
| Comments (0)
