turnip:RSpec的小Cucumber扩展

时间:2021-04-12 15:23:20
【文件属性】:
文件名称:turnip:RSpec的小Cucumber扩展
文件大小:41KB
文件格式:ZIP
更新时间:2021-04-12 15:23:20
Ruby 芜菁 Turnip是RSpec的扩展。 它允许您使用Gherkin编写测试,并在RSpec环境中运行它们。 基本上,您可以在RSpec中编写Cucumber功能。 安装 安装宝石 gem install turnip 或将其添加到您的Gemfile中并运行bundle 。 group :test do gem "turnip" end 现在,在项目目录中编辑.rspec文件(如果不存在,请创建它),并添加以下行: -r turnip/rspec 发展 源代码托管在。 请将问题,讨论或问题直接到。 如有疑问,请不要在GitHub上发布问题。 如果您发现可重现的错误,请打开提交错误报告。 除非您发现与安全相关的问题,否则请不要直接与任何维护人员联系。 拉取请求非常受欢迎(甚至比错误报告还好)! 请为您进行的每个单独更改创建一个主题分支。 兼容性和支持政策 1.Ruby 支持
【文件预览】:
turnip-master
----.travis.yml(230B)
----Rakefile(181B)
----.github()
--------workflows()
----gemfiles()
--------Gemfile-rspec-3.7.x(164B)
--------Gemfile-rspec-3.8.x(164B)
--------Gemfile-rspec-3.9.x(164B)
----Gemfile(74B)
----.rspec(16B)
----examples()
--------interpolation.feature(713B)
--------scenario_outline.feature(335B)
--------steps_for_super.feature(358B)
--------gherkin6_syntax.feature(555B)
--------steps_with_variations.feature(600B)
--------ambiguous.feature(88B)
--------with_comments.feature(277B)
--------pending.feature(96B)
--------blank.feature(17B)
--------tags.feature(304B)
--------errors.feature(368B)
--------table.feature(293B)
--------with_backticks.feature(165B)
--------simple_feature.feature(136B)
--------autoload_steps.feature(115B)
--------backgrounds.feature(148B)
--------scenario_outline_multiline_string_substitution.feature(313B)
--------steps()
--------steps_for.feature(249B)
--------scenario_outline_table_substitution.feature(372B)
--------multiline_string.feature(248B)
--------step_calling.feature(378B)
----spec()
--------define_and_execute_spec.rb(2KB)
--------step_definition_spec.rb(4KB)
--------table_spec.rb(3KB)
--------integration_spec.rb(2KB)
--------builder_spec.rb(3KB)
--------dsl_spec.rb(2KB)
--------placeholder_spec.rb(5KB)
--------spec_helper.rb(426B)
----.gitignore(59B)
----CHANGELOG.md(3KB)
----lib()
--------turnip.rb(564B)
--------turnip()
----README.md(13KB)
----turnip.gemspec(1002B)

网友评论