文件名称:cucumber-rails:Cucumber的Rails Generators,对Capybara和DatabaseCleaner具有特殊支持
文件大小:67KB
文件格式:ZIP
更新时间:2024-04-18 13:09:39
Ruby
Cucumber导轨 Cucumber-Rails将Cucumber引入了Rails 5.x和6.x。 安装 在使用生成器之前,请按照以下步骤将gem添加到项目的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 --help 最后,引导您的Rails应用程序,例如: rails generate cucumber:install 运行Cucumber 与耙: rake cucumbe
【文件预览】:
cucumber-rails-master
----.rubocop_todo.yml(474B)
----gemfiles()
--------rails_6_0.gemfile(162B)
--------rails_5_1.gemfile(212B)
--------rails_5_0.gemfile(209B)
--------rails_5_2.gemfile(190B)
----.github()
--------ISSUE_TEMPLATE.md(2KB)
--------PULL_REQUEST_TEMPLATE.md(2KB)
----lib()
--------cucumber()
--------generators()
----Gemfile(70B)
----dev_tasks()
--------yard.rake(809B)
--------yard()
--------cucumber.rake(86B)
--------rspec.rake(89B)
----spec()
--------cucumber()
--------generators()
--------spec_helper.rb(366B)
----Rakefile(1KB)
----CONTRIBUTING.md(3KB)
----.travis.yml(1KB)
----config()
--------.gitignore(14B)
--------cucumber.yml(470B)
----LICENSE(1KB)
----README.md(4KB)
----.rubocop.yml(914B)
----features()
--------database_cleaner.feature(4KB)
--------disable_automatic_database_cleaning.feature(2KB)
--------no_database.feature(2KB)
--------configuration.feature(2KB)
--------annotations.feature(624B)
--------install_cucumber_rails.feature(617B)
--------rest_api.feature(1KB)
--------raising_errors.feature(583B)
--------emulate_javascript.feature(3KB)
--------rerun_profile.feature(1KB)
--------step_definitions()
--------capybara_javascript_drivers.feature(5KB)
--------allow_rescue.feature(2KB)
--------support()
--------choose_javascript_database_strategy.feature(4KB)
----Appraisals(588B)
----.rspec(63B)
----cucumber-rails.gemspec(2KB)
----.gitignore(135B)
----bin()
--------install_geckodriver.sh(416B)
--------install_webpacker.sh(258B)
----CHANGELOG.md(34KB)