文件名称:so_stub_very_test:sostubverytestmuchexconwow
文件大小:8KB
文件格式:ZIP
更新时间:2024-05-18 13:39:41
Ruby
SoStubVeryTest so stub very test much excon wow SoStubVeryTest提供了一种在测试中对Excon进行存根的更简单方法,因为Excon.stub({}, {})输入Excon.stub({}, {})就像是乘坐第一趟火车到“重复性压力伤害镇”。 此外,它提供了一种简便的方法来为您的测试套件设置默认存根,以便您可以清除在单个测试设置中存根的Excon存根,但仍然有有用的默认存根(它们通常返回空数组和哈希值) )。 安装 将此行添加到您的应用程序的Gemfile中: gem 'so_stub_very_test' 然后执行: $ bundle 或将其自己安装为: $ gem install so_stub_very_test 用法 HTTP动词存根 SoStubVeryTest
【文件预览】:
so_stub_very_test-master
----LICENSE.txt(1KB)
----lib()
--------so_stub_very_test()
--------so_stub_very_test.rb(3KB)
----Gemfile(102B)
----Rakefile(133B)
----test()
--------so_stub_very_test_test.rb(6KB)
----README.md(5KB)
----so_stub_very_test.gemspec(999B)
----app.json(315B)
----.gitignore(154B)