是一种描述代码行为的语言 用作测试用,Ruby Specific
安装:
sudo gem install autotest -v 4.3.2
sudo gem install autotest-rails-pure -v 4.1.0
需要在 Gemfile内部配置 并且 bundle install
source 'http://rubygems.org'
gem 'rails','3.0.0'
gem 'sqlite3-ruby','1.2.5',:require => 'sqlite3'
group :development do
gem 'rspec-rails','2.0.0'
end
group :test do
gem 'rspec','2.0.0'
gem 'webrat','0.7.1'
end
rails generate rspec:install