腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(534)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
如何在黄瓜步骤定义之外使用
rspec-expectations
我正在使用watir-cucumber进行自动化测试。我在一个单独的.rb中写了下面的方法,这个方法不在步骤定义中。 $browser.text.should include("t788")当我从步骤定义调用这个方法时,这个错误出现了,相同的代码在步骤定义中工作得很好。我到处搜索,发现include方法是用来包含模块的,但那就是ruby-include方法,而should include属于rspec\e
浏览 3
提问于2012-10-22
得票数 1
1
回答
使用预释放的gem来满足绑定器的传递依赖
rspec-rails', '~> 3.0.0.rc1'Bundler could not find compatible versions for gem "
rspec-expectations
": rspec (< 4.0, >= 2.14) ruby depends on
rspec-expectations
(~> 2.14.0) rubyrspec-rails (~>
浏览 0
提问于2014-05-23
得票数 3
回答已采纳
2
回答
这样的单行测试在rspec中是可能的吗
我想做一些类似以下的事情:"bat".length.should eq(3) # => NoMethodError: undefined method我是否需要'
rspec-expectations
'
浏览 2
修改于2013-04-29
得票数 0
回答已采纳
1
回答
rspec海原错误- #<RSpec的未定义方法“访问”
visit '/' end Gemfile.lock有:
rspec-expectations
3.0) activesupport (>= 3.0) rspec-core (~> 2.14.0)
rspec-expectations
浏览 0
修改于2014-06-29
得票数 0
1
回答
have_enqueued_sidekiq_job未定义方法
at for #RSpec::Matchers::BuiltIn::Has:0x007fecb7f0a068`rspec (3.6.0)
rspec-expectations
浏览 9
提问于2018-01-01
得票数 1
回答已采纳
1
回答
Travis Build找不到Diff::LCS::SpecHelper for Rspec
ruby - 2.0.0cache: bundlerrspec (2.14.1)
rspec-expectations
(~> 2.14.0)rspec-core (2.14.8) diff-lcs (>=
浏览 0
修改于2014-10-25
得票数 0
回答已采纳
2
回答
在安装2.4的情况下使rspec 1.3正常工作?
在我的系统上,我也有不同版本的rspec: rspec (2.4.0,1.3.1) rspec-core (2.4.0)
rspec-expectations
(2.4.0) rspec-mocks (
浏览 1
提问于2011-02-02
得票数 1
回答已采纳
2
回答
fixture_file_upload的参数在请求规范中转到String类。
1.3.0, < 2.0) sprockets-rails (~> 2.0) rspec-core (~> 3.1.0) rspec-mocks (~> 3.1.0) rspec-support (~> 3.1.0) actionpack (>= 3.0) activesupp
浏览 1
修改于2014-09-30
得票数 0
回答已采纳
2
回答
运行RSpec测试时,Firefox地址栏和页为空
connection in 60 seconds (127.0.0.1:7055)capybara (2.1.0)rspec-core (2.14.3)
rspec-expectations
浏览 0
提问于2014-03-31
得票数 3
回答已采纳
2
回答
TypeError:尝试使用rspec时参数类型字符串(应为模块)错误
>> require '
rspec-expectations
'>> s = 'potato'>> s.include?
浏览 1
提问于2013-03-07
得票数 3
1
回答
在开发过程中更改rspec版本
我的Gemfile.lock的一部分看起来像:rb-fsevent (0.4.0) rspec-core (~> 2.6.0) rspec-mocks (~> 2.6.0)
rspec-expectations
(2.6.0) diff-lcs (~> 1.1.2
浏览 1
修改于2011-06-03
得票数 0
2
回答
Rspec在“无效选项”中失败,即使该选项是有效的。这是rspec中的一个bug吗?
版本rspec (2.14.1)
rspec-expectations
(2.14.52.14.2, 2.14.1) Gemfile.lock: rspec-core (2.14.7) Gemfile.lock:
rspec-expectations
浏览 0
修改于2020-06-20
得票数 1
回答已采纳
1
回答
我该如何测试法拉第的反应?
~> 0.8.1) rake (10.5.0) rspec-core (~> 3.5.0) rspec-mocks (~> 3.5.0) rspec-support (~> 3.5.0) json (~> 2
浏览 7
提问于2016-07-31
得票数 1
回答已采纳
1
回答
在捆绑之前,确保` `gem install byebug '11.1.3‘--https://rubygems.org/’`‘-v成功
specs: diff-lcs (1.4.4) rspec-core (~> 3.2.0) rspec-mocks (~> 3.2.0) rspec-support (~> 3.2.0)
rspec-expectations
浏览 0
提问于2021-04-26
得票数 0
4
回答
Watir检查文本存在
Coverberechnung").should == true Error2:Using should from
rspec-expectations
浏览 10
修改于2015-01-26
得票数 3
回答已采纳
1
回答
Rails RSpec无效选项:--格式
$ bundle show | grep rspec *
rspec-expectations
(3.2.0) * rspec-mocks (3.2.0
浏览 0
修改于2015-02-20
得票数 0
回答已采纳
1
回答
Rspec提高匹配器不工作,从文档复制语法?
rspec-core (3.9.1)rspec-mocks (3.9.1)rspec-support
浏览 2
提问于2020-12-28
得票数 0
回答已采纳
1
回答
在Jruby中为rspec创建rake任务:没有要加载的文件-- spec/rake/spectask
-1.9.2-p136)bundler (1.0.21)rake (0.8.7)rspec-core (2.7.1)
rspec-expectations
浏览 2
提问于2011-12-01
得票数 1
回答已采纳
3
回答
rspec assert_equal无方法错误
ExampleGroup::Nested_1:0x8d6f75c>bundler (1.3.5)rspec (2.13.0)
rspec-expectations
浏览 1
提问于2013-04-14
得票数 2
回答已采纳
2
回答
Debian上的RubyGem
3.0.0)i18n (0.6.0)rake (0.9.2.2)rspec-core (2.8.0)
rspec-expectations
浏览 0
提问于2012-01-21
得票数 0
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券