本月博客排行
-
第1名
wy_19921005 -
第2名
benladeng5225 -
第3名
duanfei - steven789654
- wddpwzzhao123
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
wy_19921005 - benladeng5225
- kaizi1992
- tanling8334
- vipbooks
- sam123456gz
- arpenker
- zysnba
- fantaxy025025
- xiangjie88
- wallimn
- e_e
- jh108020
- ganxueyun
- Xeden
- xyuma
- wangchen.ily
- zhanjia
- johnsmith9th
- zxq_2017
- forestqqqq
- jbosscn
- daizj
- xpenxpen
- 喧嚣求静
- kingwell.leng
- lchb139128
- kristy_yy
- javashop
- lzyfn123
- sunj
- yeluowuhen
- ajinn
- lerf
- lemonhandsome
- chenqisdfx
- xiaoxinye
- flashsing123
- lyndon.lin
- bosschen
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- sgqt
- 青否云后端云
- hudiemeng870329
- mft8899
最新文章列表
您公司的测试开发人员比例是多少?合理吗?看看微软、google是多少
有个学者做个这方面的调查——Tester to Developer
Ratio Initial Research Findings,因为这个想法也缠绕着他整整十年。他通过4个问题调查得到一些数据,可以供那些对此感兴趣的人参考。4个问题是:
1) 你的组织有多少开发人员?
2) 你的组织有多少测试人员?
3) 如果以1到 6 ...
RSpec-Core 2.6
主要是转载吧,文档在墙的另一边,翻过去嫌麻烦,更多详细内容:
http://relishapp.com/rspec
shared examples
有3种方法导入shared example group
include_examples "name"
it_behaves_like "name"
it_should_behave_like " ...
在view spec中用Capybara.string的结果替代rendered(Capybara版本0.4.12)
问题关键字:undefined method `has_selector?' for #<String:0x1034ecfb0>
版本:
Capybara(0.4.12)
RSpec-Rails(2.5.0)
补充:刚试了一下最新版本的RSpec-Rails2.6.0.rc6和Capybara1.0.0.beta1,已经把这个问题给解决了……
google一番后:
https:// ...
rails测试中遇到的一些问题
1,页面的测试。
假设某view中有一个表单,表单里有3个字段,《The Rspec Book》中的做法是为这3个字段各写一个example:
it 'renders a form to create product'
it 'renders a text field for product name'
it 'renders a text field for product price ...