启动bali项目

1 Install ZenTest (version 3.6.1): gem install --include-dependencies ZenTest
2 Install diff-lcs (version 1.1.2): gem install diff-lcs
3 Install ruby-snarl (version 0.0.8): gem install ruby-snarl
4 Download the install the GNU DiffUtils package – I installed this into my C:\Windows\System32 directory.
Download and unzip the famfamfam Silk icons and copy the following files into $RUBY_HOME\lib\ruby\gems\1.8\gems\ZenTest-3.6.1\lib\icons where $RUBY_HOME is the directory where Ruby is installed:
* accept.png
* exclamation.png
* information.png

5 Create a file called .autotest in your Rails application root containing:
require 'autotest/snarl'
6 Open the spec/spec.opts file in your Rails application and remove the --color option (if it is present). My file looks like this:

--format progress
--loadby mtime
--reverse

首先把rspec ,rspec_autotest 和 rspec rails 三个目录复制到 vendors\plugins目录下面,
然后在shell 下运行 script/generate rspec 即可把rspec 安装完毕

autotest
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值