- 创建rails工程
- 在gemfile文件中添加:
group :test do gem 'cucumber-rails', :require => false # database_cleaner is not required, but highly recommended gem 'database_cleaner'
end
- Bundle install
rails generate cucumber:install
本文共 262 字,大约阅读时间需要 1 分钟。
group :test do gem 'cucumber-rails', :require => false # database_cleaner is not required, but highly recommended gem 'database_cleaner'
end
rails generate cucumber:install
转载于:https://www.cnblogs.com/jecyhw/p/4907031.html