cucoo:用于测试API的Cucumber步骤和断言

时间:2021-05-10 14:23:45
【文件属性】:
文件名称:cucoo:用于测试API的Cucumber步骤和断言
文件大小:32KB
文件格式:ZIP
更新时间:2021-05-10 14:23:45
Ruby 库库 用于测试API的Cucumber步骤和断言。 该gem在webmock,cucumber和json_spec之上提供了DSL,从而使在Rails上测试API更加容易。 安装 将此行添加到您的应用程序的Gemfile中: gem 'cucoo' 然后执行: $ bundle 或将其自己安装为: $ gem install cucoo 配置 Cucoo作为软件包安装了以下宝石 典型的env.rb如下所示: require 'cucumber/rails' require 'cucoo/rails' ActionController :: Base . allow_rescue = false require File . expand_path ( '../../../config/environment' , __FILE__ ) Capybara . default_dr
【文件预览】:
cucoo-master
----.gitignore(134B)
----README.md(6KB)
----dummy()
--------bin()
--------public()
--------app()
--------config()
--------README.rdoc(478B)
--------config.ru(153B)
--------lib()
--------Rakefile(249B)
----cucoo.gemspec(1KB)
----Gemfile(89B)
----.ruby-version(11B)
----features()
--------support()
--------get.feature(195B)
----LICENSE.txt(1KB)
----.ruby-gemset(6B)
----.travis.yml(65B)
----lib()
--------cucoo()
--------cucoo.rb(249B)
----Rakefile(190B)

网友评论