Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
@alpha0x00
Member
NO. 100852 / 2023-10-09

1 Topics / 1 Replies
0 Followers
3 Following
1 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Rails 中对 Controllers 的测试如何断言 controller 内部状态? at November 12, 2023

    感谢回答。我按照你的提示验证了下,确实 IntegrationTest 类中可以访问 session、flash 和 cookie,那么这样看看来 ControllerTest 就不算是黑盒测试嘛。

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English