本月博客排行
-
第1名
Xeden -
第2名
fantaxy025025 -
第3名
bosschen - paulwong
- johnsmith9th
年度博客排行
-
第1名
青否云后端云 -
第2名
宏天软件 -
第3名
gashero - gengyun12
- wy_19921005
- vipbooks
- e_e
- wallimn
- benladeng5225
- ranbuijj
- javashop
- fantaxy025025
- jickcai
- robotmen
- zw7534313
- qepwqnp
- 解宜然
- ssydxa219
- sam123456gz
- zysnba
- sichunli_030
- gdpglc
- tanling8334
- gaojingsong
- arpenker
- xpenxpen
- kaizi1992
- wiseboyloves
- jh108020
- xyuma
- ganxueyun
- wangchen.ily
- xiangjie88
- Jameslyy
- luxurioust
- mengjichen
- lemonhandsome
- jbosscn
- nychen2000
- zxq_2017
- wjianwei666
- lzyfn123
- forestqqqq
- ajinn
- siemens800
- hanbaohong
- 狂盗一枝梅
- java-007
- zhanjia
- 喧嚣求静
最新文章列表
rspec 格式化输出 output
1. rake rspec #执行所有测试
rake spec:models #只执行models的测试
rake spec/models/mymodel_spec.rb # 只测试一个文件
bundle exec rspec spec/controllers/sessions_controller_spec.rb -l 11 --format progress --f ...
5.2 integration test using rspec.
in this chapter,we will see a very simple integration test to test routes in rails.
controller test is only able to test routes inside the controller, so if you want to test global routes, like hom ...